Home
last modified time | relevance | path

Searched refs:POSITIONAL_OR_KEYWORD (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Lib/
Dinspect.py2093 kind = Parameter.POSITIONAL_OR_KEYWORD
2097 kind = Parameter.POSITIONAL_OR_KEYWORD
2456 POSITIONAL_OR_KEYWORD = 1 variable in _ParameterKind
2469 _POSITIONAL_OR_KEYWORD = _ParameterKind.POSITIONAL_OR_KEYWORD
2508 POSITIONAL_OR_KEYWORD = _POSITIONAL_OR_KEYWORD variable in Parameter
/third_party/python/Lib/test/
Dtest_inspect.py3130 manual_sig = S(parameters=[P('a', P.POSITIONAL_OR_KEYWORD)])
3259 self.assertTrue(P.POSITIONAL_ONLY < P.POSITIONAL_OR_KEYWORD < \
3300 kind=inspect.Parameter.POSITIONAL_OR_KEYWORD)
3360 p2 = p2.replace(default=42, kind=p2.POSITIONAL_OR_KEYWORD)
3361 self.assertEqual(p2.kind, p2.POSITIONAL_OR_KEYWORD)
3385 '.0', kind=inspect.Parameter.POSITIONAL_OR_KEYWORD)
Dtest_dataclasses.py781 self.assertEqual(param.kind, inspect.Parameter.POSITIONAL_OR_KEYWORD)
786 self.assertEqual(param.kind, inspect.Parameter.POSITIONAL_OR_KEYWORD)
791 self.assertEqual(param.kind, inspect.Parameter.POSITIONAL_OR_KEYWORD)
796 self.assertEqual(param.kind, inspect.Parameter.POSITIONAL_OR_KEYWORD)
Dtest_decimal.py5573 POS_KWD = inspect._ParameterKind.POSITIONAL_OR_KEYWORD
/third_party/python/Tools/clinic/
Dclinic.py4555 … = inspect.Parameter.KEYWORD_ONLY if self.keyword_only else inspect.Parameter.POSITIONAL_OR_KEYWORD
4649 …if (p.kind != inspect.Parameter.POSITIONAL_OR_KEYWORD and not isinstance(p.converter, self_convert…
/third_party/python/Doc/library/
Dinspect.rst740 | *POSITIONAL_OR_KEYWORD*| Value may be supplied as either a keyword or |