Searched refs:KEYWORD_ONLY (Results 1 – 11 of 11) sorted by relevance
/external/python/funcsigs/tests/ |
D | test_inspect.py | 667 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/ |
D | index.rst | 172 (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/ |
D | np_utils.py | 158 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/ |
D | descriptors.py | 252 Parameter.KEYWORD_ONLY,
|
D | callback_client.py | 284 inspect.Parameter('pw_rpc_timeout_s', inspect.Parameter.KEYWORD_ONLY))
|
/external/python/cpython3/Lib/test/ |
D | test_clinic.py | 417 self.assertEqual(inspect.Parameter.KEYWORD_ONLY, p.kind)
|
D | test_inspect.py | 3260 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/ |
D | inspect.py | 2105 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__.py | 232 KEYWORD_ONLY = _KEYWORD_ONLY variable in Parameter
|
/external/python/cpython3/Doc/library/ |
D | inspect.rst | 728 (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/ |
D | clinic.py | 2306 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:
|