Home
last modified time | relevance | path

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

/third_party/python/Lib/
Dinspect.py2231 kind = Parameter.KEYWORD_ONLY
2573 KEYWORD_ONLY = 3 variable in _ParameterKind
2586 _KEYWORD_ONLY = _ParameterKind.KEYWORD_ONLY
2625 KEYWORD_ONLY = _KEYWORD_ONLY variable in Parameter
/third_party/python/Lib/test/
Dtest_clinic.py418 self.assertEqual(inspect.Parameter.KEYWORD_ONLY, p.kind)
Dtest_inspect.py3587 P.VAR_POSITIONAL < P.KEYWORD_ONLY < P.VAR_KEYWORD)
3645 p = P('foo', default=42, kind=inspect.Parameter.KEYWORD_ONLY)
3655 kind=inspect.Parameter.KEYWORD_ONLY))
3657 kind=inspect.Parameter.KEYWORD_ONLY))
3661 kind=inspect.Parameter.KEYWORD_ONLY)
3696 p2 = p2.replace(kind=p2.KEYWORD_ONLY)
3717 p = inspect.Parameter('spam', kind=inspect.Parameter.KEYWORD_ONLY)
/third_party/python/Doc/library/
Dinspect.rst753 (accessible via :class:`Parameter`, like ``Parameter.KEYWORD_ONLY``):
775 | *KEYWORD_ONLY* | Value must be supplied as a keyword argument.|
793 ... if (param.kind == param.KEYWORD_ONLY and
827 >>> param = Parameter('foo', Parameter.KEYWORD_ONLY, default=42)
/third_party/python/Tools/clinic/
Dclinic.py2305 return self.kind == inspect.Parameter.KEYWORD_ONLY
4573 …kind = inspect.Parameter.KEYWORD_ONLY if self.keyword_only else inspect.Parameter.POSITIONAL_OR_KE…
4986 no_parameter_after_star = last_parameter.kind != inspect.Parameter.KEYWORD_ONLY
5091 if parameter.kind == inspect.Parameter.KEYWORD_ONLY: