def _cstor_args_from_fields(self, fields, is_struct=False):
if is_struct:<EOL><INDENT>args = [(fmt_var(f.name),<EOL>fmt_type(f.data_type, tag=True, has_default=f.has_default)) for f in fields]<EOL><DEDENT>else:<EOL><INDENT>args = [(fmt_var(f.name), fmt_type(f.data_type, tag=True)) for f in fields]<EOL><DEDENT>return fmt_func_args_declaration(args)<EOL>
Returns a string representing the properly formatted arguments for a constructor.