Lines Matching refs:arg
53 def _fmt_arg(self, arg): argument
55 if arg.is_self_arg:
56 doc = self._select_format(arg.name, '$self')
57 elif arg.is_type_arg:
58 doc = self._select_format(arg.name, '$type')
60 doc = arg.name
61 if arg.type is PyrexTypes.py_object_type:
64 annotation = arg.type.declaration_code('', for_display=1)
65 if arg.default and arg.default.is_none:
67 if arg.annotation:
68 annotation = self._fmt_annotation(arg.annotation)
72 if arg.default:
73 default = self._fmt_expr(arg.default)
75 elif arg.default:
76 default = self._fmt_expr(arg.default)
80 def _fmt_star_arg(self, arg): argument
81 arg_doc = arg.name
82 if arg.annotation:
83 annotation = self._fmt_annotation(arg.annotation)
98 for arg in args:
99 if not hide_self or not arg.entry.is_self_arg:
100 arg_doc = self._fmt_arg(arg)