Searched refs:POSITIONAL_ONLY (Results 1 – 6 of 6) sorted by relevance
/third_party/python/Lib/test/ |
D | test_inspect.py | 979 spam_param = inspect.Parameter('spam', inspect.Parameter.POSITIONAL_ONLY) 2276 po = sig.parameters['po'].replace(kind=P.POSITIONAL_ONLY) 2277 pod = sig.parameters['pod'].replace(kind=P.POSITIONAL_ONLY) 2327 myparam = MyParameter(name='z', kind=inspect.Parameter.POSITIONAL_ONLY) 2859 params['a'] = params['a'].replace(kind=Parameter.POSITIONAL_ONLY) 2860 params['b'] = params['b'].replace(kind=Parameter.POSITIONAL_ONLY) 3348 new_params[0] = new_params[0].replace(kind=P.POSITIONAL_ONLY) 3354 self.assertEqual(str(S(parameters=[P('foo', P.POSITIONAL_ONLY)])), 3358 P('foo', P.POSITIONAL_ONLY), 3363 P('foo', P.POSITIONAL_ONLY), [all …]
|
D | test_clinic.py | 451 self.assertEqual(p.kind, inspect.Parameter.POSITIONAL_ONLY) 511 self.assertEqual(p.kind, inspect.Parameter.POSITIONAL_ONLY)
|
D | test_decimal.py | 5604 POS = inspect._ParameterKind.POSITIONAL_ONLY
|
/third_party/python/Lib/ |
D | inspect.py | 2217 kind = Parameter.POSITIONAL_ONLY 2254 p = parameters[0].replace(kind=Parameter.POSITIONAL_ONLY) 2570 POSITIONAL_ONLY = 0 variable in _ParameterKind 2583 _POSITIONAL_ONLY = _ParameterKind.POSITIONAL_ONLY 2622 POSITIONAL_ONLY = _POSITIONAL_ONLY variable in Parameter
|
/third_party/python/Tools/clinic/ |
D | clinic.py | 2308 return self.kind == inspect.Parameter.POSITIONAL_ONLY 4258 …p_self = Parameter(sc.name, inspect.Parameter.POSITIONAL_ONLY, function=self.function, converter=s… 4583 kind = inspect.Parameter.POSITIONAL_ONLY 4669 p.kind = inspect.Parameter.POSITIONAL_ONLY
|
/third_party/python/Doc/library/ |
D | inspect.rst | 760 | *POSITIONAL_ONLY* | Value must be supplied as a positional | 839 to ``None`` if their ``kind`` was set to ``POSITIONAL_ONLY``.
|