Searched refs:POSITIONAL_OR_KEYWORD (Results 1 – 10 of 10) sorted by relevance
/external/python/funcsigs/tests/ |
D | test_inspect.py | 666 self.assertTrue(P.POSITIONAL_ONLY < P.POSITIONAL_OR_KEYWORD < \ 699 kind=inspect.Parameter.POSITIONAL_OR_KEYWORD) 749 p2 = p2.replace(default=42, kind=p2.POSITIONAL_OR_KEYWORD) 750 self.assertEqual(p2.kind, p2.POSITIONAL_OR_KEYWORD)
|
/external/python/cpython3/Lib/ |
D | inspect.py | 2060 kind = Parameter.POSITIONAL_OR_KEYWORD 2064 kind = Parameter.POSITIONAL_OR_KEYWORD 2409 POSITIONAL_OR_KEYWORD = 1 variable in _ParameterKind 2419 _POSITIONAL_OR_KEYWORD = _ParameterKind.POSITIONAL_OR_KEYWORD 2460 POSITIONAL_OR_KEYWORD = _POSITIONAL_OR_KEYWORD variable in Parameter
|
/external/python/cpython3/Lib/test/ |
D | test_inspect.py | 2942 manual_sig = S(parameters=[P('a', P.POSITIONAL_OR_KEYWORD)]) 3059 self.assertTrue(P.POSITIONAL_ONLY < P.POSITIONAL_OR_KEYWORD < \ 3100 kind=inspect.Parameter.POSITIONAL_OR_KEYWORD) 3160 p2 = p2.replace(default=42, kind=p2.POSITIONAL_OR_KEYWORD) 3161 self.assertEqual(p2.kind, p2.POSITIONAL_OR_KEYWORD) 3185 '.0', kind=inspect.Parameter.POSITIONAL_OR_KEYWORD)
|
D | test_dataclasses.py | 761 self.assertEqual(param.kind, inspect.Parameter.POSITIONAL_OR_KEYWORD) 766 self.assertEqual(param.kind, inspect.Parameter.POSITIONAL_OR_KEYWORD) 771 self.assertEqual(param.kind, inspect.Parameter.POSITIONAL_OR_KEYWORD) 776 self.assertEqual(param.kind, inspect.Parameter.POSITIONAL_OR_KEYWORD)
|
D | test_decimal.py | 5515 POS_KWD = inspect._ParameterKind.POSITIONAL_OR_KEYWORD
|
/external/python/funcsigs/docs/ |
D | index.rst | 186 | *POSITIONAL_OR_KEYWORD*| Value may be supplied as either a keyword or |
|
/external/python/funcsigs/funcsigs/ |
D | __init__.py | 230 POSITIONAL_OR_KEYWORD = _POSITIONAL_OR_KEYWORD variable in Parameter
|
/external/tensorflow/tensorflow/tools/compatibility/ |
D | tf_upgrade_v2_test.py | 54 if param.kind == param.POSITIONAL_OR_KEYWORD]
|
/external/python/cpython3/Tools/clinic/ |
D | clinic.py | 3898 … = inspect.Parameter.KEYWORD_ONLY if self.keyword_only else inspect.Parameter.POSITIONAL_OR_KEYWORD 3974 …if (p.kind != inspect.Parameter.POSITIONAL_OR_KEYWORD and not isinstance(p.converter, self_convert…
|
/external/python/cpython3/Doc/library/ |
D | inspect.rst | 722 | *POSITIONAL_OR_KEYWORD*| Value may be supplied as either a keyword or |
|