Home
last modified time | relevance | path

Searched refs:POSITIONAL_ONLY (Results 1 – 9 of 9) sorted by relevance

/external/python/funcsigs/tests/
Dtest_inspect.py666 self.assertTrue(P.POSITIONAL_ONLY < P.POSITIONAL_OR_KEYWORD < \
669 self.assertEqual(str(P.POSITIONAL_ONLY), 'POSITIONAL_ONLY')
670 self.assertTrue('POSITIONAL_ONLY' in repr(P.POSITIONAL_ONLY))
674 kind=inspect.Parameter.POSITIONAL_ONLY)
678 self.assertEqual(p.kind, inspect.Parameter.POSITIONAL_ONLY)
760 p = inspect.Parameter(None, kind=inspect.Parameter.POSITIONAL_ONLY)
767 p = inspect.Parameter(None, kind=inspect.Parameter.POSITIONAL_ONLY)
/external/python/cpython3/Lib/test/
Dtest_inspect.py821 spam_param = inspect.Parameter('spam', inspect.Parameter.POSITIONAL_ONLY)
1962 po = sig.parameters['po'].replace(kind=P.POSITIONAL_ONLY)
1963 pod = sig.parameters['pod'].replace(kind=P.POSITIONAL_ONLY)
2013 myparam = MyParameter(name='z', kind=inspect.Parameter.POSITIONAL_ONLY)
2545 params['a'] = params['a'].replace(kind=Parameter.POSITIONAL_ONLY)
2546 params['b'] = params['b'].replace(kind=Parameter.POSITIONAL_ONLY)
2983 new_params[0] = new_params[0].replace(kind=P.POSITIONAL_ONLY)
2989 self.assertEqual(str(S(parameters=[P('foo', P.POSITIONAL_ONLY)])),
2993 P('foo', P.POSITIONAL_ONLY),
2998 P('foo', P.POSITIONAL_ONLY),
[all …]
Dtest_clinic.py457 self.assertEqual(p.kind, inspect.Parameter.POSITIONAL_ONLY)
517 self.assertEqual(p.kind, inspect.Parameter.POSITIONAL_ONLY)
Dtest_decimal.py5514 POS = inspect._ParameterKind.POSITIONAL_ONLY
/external/python/funcsigs/docs/
Dindex.rst156 name (with the exception of ``POSITIONAL_ONLY`` parameters, which can have
177 | *POSITIONAL_ONLY* | Value must be supplied as a positional |
/external/python/cpython3/Lib/
Dinspect.py2058 kind = Parameter.POSITIONAL_ONLY
2095 p = parameters[0].replace(kind=Parameter.POSITIONAL_ONLY)
2408 POSITIONAL_ONLY = 0 variable in _ParameterKind
2418 _POSITIONAL_ONLY = _ParameterKind.POSITIONAL_ONLY
2459 POSITIONAL_ONLY = _POSITIONAL_ONLY variable in Parameter
/external/python/funcsigs/funcsigs/
D__init__.py229 POSITIONAL_ONLY = _POSITIONAL_ONLY variable in Parameter
/external/python/cpython3/Tools/clinic/
Dclinic.py2172 return self.kind == inspect.Parameter.POSITIONAL_ONLY
3585 …p_self = Parameter(sc.name, inspect.Parameter.POSITIONAL_ONLY, function=self.function, converter=s…
3908 kind = inspect.Parameter.POSITIONAL_ONLY
3976 p.kind = inspect.Parameter.POSITIONAL_ONLY
/external/python/cpython3/Doc/library/
Dinspect.rst713 | *POSITIONAL_ONLY* | Value must be supplied as a positional |
777 to ``None`` if their ``kind`` was set to ``POSITIONAL_ONLY``.