Home
last modified time | relevance | path

Searched refs:KEYWORD_ONLY (Results 1 – 8 of 8) sorted by relevance

/external/python/funcsigs/tests/
Dtest_inspect.py667 P.VAR_POSITIONAL < P.KEYWORD_ONLY < P.VAR_KEYWORD)
707 p = P('foo', default=42, kind=inspect.Parameter.KEYWORD_ONLY)
713 kind=inspect.Parameter.KEYWORD_ONLY))
717 kind=inspect.Parameter.KEYWORD_ONLY)
724 kind=inspect.Parameter.KEYWORD_ONLY)
756 p2 = p2.replace(kind=p2.KEYWORD_ONLY)
/external/python/funcsigs/docs/
Dindex.rst172 (accessible via :class:`Parameter`, like ``Parameter.KEYWORD_ONLY``):
196 | *KEYWORD_ONLY* | Value must be supplied as a keyword argument.|
214 ... if (param.kind == param.KEYWORD_ONLY and
229 >>> param = Parameter('foo', Parameter.KEYWORD_ONLY, default=42)
/external/python/cpython3/Lib/
Dinspect.py2072 kind = Parameter.KEYWORD_ONLY
2411 KEYWORD_ONLY = 3 variable in _ParameterKind
2421 _KEYWORD_ONLY = _ParameterKind.KEYWORD_ONLY
2462 KEYWORD_ONLY = _KEYWORD_ONLY variable in Parameter
/external/python/cpython3/Lib/test/
Dtest_inspect.py3060 P.VAR_POSITIONAL < P.KEYWORD_ONLY < P.VAR_KEYWORD)
3118 p = P('foo', default=42, kind=inspect.Parameter.KEYWORD_ONLY)
3128 kind=inspect.Parameter.KEYWORD_ONLY))
3130 kind=inspect.Parameter.KEYWORD_ONLY))
3134 kind=inspect.Parameter.KEYWORD_ONLY)
3169 p2 = p2.replace(kind=p2.KEYWORD_ONLY)
3190 p = inspect.Parameter('spam', kind=inspect.Parameter.KEYWORD_ONLY)
Dtest_clinic.py424 self.assertEqual(inspect.Parameter.KEYWORD_ONLY, p.kind)
/external/python/funcsigs/funcsigs/
D__init__.py232 KEYWORD_ONLY = _KEYWORD_ONLY variable in Parameter
/external/python/cpython3/Doc/library/
Dinspect.rst706 (accessible via :class:`Parameter`, like ``Parameter.KEYWORD_ONLY``):
732 | *KEYWORD_ONLY* | Value must be supplied as a keyword argument.|
750 ... if (param.kind == param.KEYWORD_ONLY and
765 >>> param = Parameter('foo', Parameter.KEYWORD_ONLY, default=42)
/external/python/cpython3/Tools/clinic/
Dclinic.py2169 return self.kind == inspect.Parameter.KEYWORD_ONLY
3898 …kind = inspect.Parameter.KEYWORD_ONLY if self.keyword_only else inspect.Parameter.POSITIONAL_OR_KE…
4293 no_parameter_after_star = last_parameter.kind != inspect.Parameter.KEYWORD_ONLY
4391 if parameter.kind == inspect.Parameter.KEYWORD_ONLY: