Lines Matching defs:empty
184 empty dict. (Functions and methods always have an
188 doesn't have its own annotations dict, returns an empty dict.
1390 if sig.return_annotation is not sig.empty:
1399 if param.default is not param.empty:
1403 if param.default is not param.empty:
1409 if param.default is not param.empty:
1414 if param.annotation is not param.empty:
2196 empty = Parameter.empty
2259 def p(name_node, default_node, default=empty):
2267 parameters.append(Parameter(name, kind, default=default, annotation=empty))
2285 p(f.args.vararg, empty)
2295 p(f.args.kwarg, empty)
2314 return cls(parameters, return_annotation=cls.empty)
2568 # class with non-empty text signature.
2627 """Marker object for Signature.empty and Parameter.empty."""
2664 `Parameter.empty`.
2668 `Parameter.empty`.
2684 empty = _empty
2896 empty tuple.
2899 empty dict.
2956 attribute is set to `Signature.empty`.
2970 empty = _empty
3100 # That's OK, just empty *args. Let's start parsing