Home
last modified time | relevance | path

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

/external/python/funcsigs/tests/
Dtest_inspect.py666 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/
Dinspect.py2060 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/
Dtest_inspect.py2942 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)
Dtest_dataclasses.py761 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)
Dtest_decimal.py5515 POS_KWD = inspect._ParameterKind.POSITIONAL_OR_KEYWORD
/external/python/funcsigs/docs/
Dindex.rst186 | *POSITIONAL_OR_KEYWORD*| Value may be supplied as either a keyword or |
/external/python/funcsigs/funcsigs/
D__init__.py230 POSITIONAL_OR_KEYWORD = _POSITIONAL_OR_KEYWORD variable in Parameter
/external/tensorflow/tensorflow/tools/compatibility/
Dtf_upgrade_v2_test.py54 if param.kind == param.POSITIONAL_OR_KEYWORD]
/external/python/cpython3/Tools/clinic/
Dclinic.py3898 … = 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/
Dinspect.rst722 | *POSITIONAL_OR_KEYWORD*| Value may be supplied as either a keyword or |