Searched refs:POSITIONAL_OR_KEYWORD (Results 1 – 6 of 6) sorted by relevance
2093 kind = Parameter.POSITIONAL_OR_KEYWORD2097 kind = Parameter.POSITIONAL_OR_KEYWORD2456 POSITIONAL_OR_KEYWORD = 1 variable in _ParameterKind2469 _POSITIONAL_OR_KEYWORD = _ParameterKind.POSITIONAL_OR_KEYWORD2508 POSITIONAL_OR_KEYWORD = _POSITIONAL_OR_KEYWORD variable in Parameter
3130 manual_sig = S(parameters=[P('a', P.POSITIONAL_OR_KEYWORD)])3259 self.assertTrue(P.POSITIONAL_ONLY < P.POSITIONAL_OR_KEYWORD < \3300 kind=inspect.Parameter.POSITIONAL_OR_KEYWORD)3360 p2 = p2.replace(default=42, kind=p2.POSITIONAL_OR_KEYWORD)3361 self.assertEqual(p2.kind, p2.POSITIONAL_OR_KEYWORD)3385 '.0', kind=inspect.Parameter.POSITIONAL_OR_KEYWORD)
781 self.assertEqual(param.kind, inspect.Parameter.POSITIONAL_OR_KEYWORD)786 self.assertEqual(param.kind, inspect.Parameter.POSITIONAL_OR_KEYWORD)791 self.assertEqual(param.kind, inspect.Parameter.POSITIONAL_OR_KEYWORD)796 self.assertEqual(param.kind, inspect.Parameter.POSITIONAL_OR_KEYWORD)
5573 POS_KWD = inspect._ParameterKind.POSITIONAL_OR_KEYWORD
4555 … = inspect.Parameter.KEYWORD_ONLY if self.keyword_only else inspect.Parameter.POSITIONAL_OR_KEYWORD4649 …if (p.kind != inspect.Parameter.POSITIONAL_OR_KEYWORD and not isinstance(p.converter, self_convert…
740 | *POSITIONAL_OR_KEYWORD*| Value may be supplied as either a keyword or |