Home
last modified time | relevance | path

Searched refs:KEYWORD_ONLY (Results 1 – 11 of 11) 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/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_utils.py158 inspect.Parameter(name, inspect.Parameter.KEYWORD_ONLY, default=default)
170 if k in (inspect.Parameter.POSITIONAL_ONLY, inspect.Parameter.KEYWORD_ONLY):
/external/pigweed/pw_rpc/py/pw_rpc/
Ddescriptors.py252 Parameter.KEYWORD_ONLY,
Dcallback_client.py284 inspect.Parameter('pw_rpc_timeout_s', inspect.Parameter.KEYWORD_ONLY))
/external/python/cpython3/Lib/test/
Dtest_clinic.py417 self.assertEqual(inspect.Parameter.KEYWORD_ONLY, p.kind)
Dtest_inspect.py3260 P.VAR_POSITIONAL < P.KEYWORD_ONLY < P.VAR_KEYWORD)
3318 p = P('foo', default=42, kind=inspect.Parameter.KEYWORD_ONLY)
3328 kind=inspect.Parameter.KEYWORD_ONLY))
3330 kind=inspect.Parameter.KEYWORD_ONLY))
3334 kind=inspect.Parameter.KEYWORD_ONLY)
3369 p2 = p2.replace(kind=p2.KEYWORD_ONLY)
3390 p = inspect.Parameter('spam', kind=inspect.Parameter.KEYWORD_ONLY)
/external/python/cpython3/Lib/
Dinspect.py2105 kind = Parameter.KEYWORD_ONLY
2458 KEYWORD_ONLY = 3 variable in _ParameterKind
2471 _KEYWORD_ONLY = _ParameterKind.KEYWORD_ONLY
2510 KEYWORD_ONLY = _KEYWORD_ONLY variable in Parameter
/external/python/funcsigs/funcsigs/
D__init__.py232 KEYWORD_ONLY = _KEYWORD_ONLY variable in Parameter
/external/python/cpython3/Doc/library/
Dinspect.rst728 (accessible via :class:`Parameter`, like ``Parameter.KEYWORD_ONLY``):
750 | *KEYWORD_ONLY* | Value must be supplied as a keyword argument.|
768 ... if (param.kind == param.KEYWORD_ONLY and
802 >>> param = Parameter('foo', Parameter.KEYWORD_ONLY, default=42)
/external/python/cpython3/Tools/clinic/
Dclinic.py2306 return self.kind == inspect.Parameter.KEYWORD_ONLY
4555 …kind = inspect.Parameter.KEYWORD_ONLY if self.keyword_only else inspect.Parameter.POSITIONAL_OR_KE…
4968 no_parameter_after_star = last_parameter.kind != inspect.Parameter.KEYWORD_ONLY
5073 if parameter.kind == inspect.Parameter.KEYWORD_ONLY: