Searched refs:_KEYWORD_ONLY (Results 1 – 2 of 2) sorted by relevance
/external/python/funcsigs/funcsigs/ |
D | __init__.py | 203 _KEYWORD_ONLY = _ParameterKind(3, name='KEYWORD_ONLY') variable 232 KEYWORD_ONLY = _KEYWORD_ONLY 241 _VAR_POSITIONAL, _KEYWORD_ONLY, _VAR_KEYWORD): 376 if (param.kind in (_VAR_KEYWORD, _KEYWORD_ONLY) or 406 if (param.kind in (_VAR_KEYWORD, _KEYWORD_ONLY) or 568 kind=_KEYWORD_ONLY, 625 if param.kind == _KEYWORD_ONLY: 714 if param.kind in (_VAR_KEYWORD, _KEYWORD_ONLY): 801 elif kind == _KEYWORD_ONLY and render_kw_only_separator:
|
/external/python/cpython3/Lib/ |
D | inspect.py | 1158 elif kind is _KEYWORD_ONLY: 1780 if param.kind is _KEYWORD_ONLY: 1788 new_param = new_params[param_name].replace(kind=_KEYWORD_ONLY) 1791 elif param.kind in (_KEYWORD_ONLY, _VAR_KEYWORD): 1806 if not params or params[0].kind in (_VAR_KEYWORD, _KEYWORD_ONLY): 2178 kind=_KEYWORD_ONLY, 2421 _KEYWORD_ONLY = _ParameterKind.KEYWORD_ONLY variable 2428 _KEYWORD_ONLY: 'keyword-only', 2462 KEYWORD_ONLY = _KEYWORD_ONLY 2621 if param.kind in (_VAR_KEYWORD, _KEYWORD_ONLY): [all …]
|