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 | 1199 elif kind is _KEYWORD_ONLY: 1819 if param.kind is _KEYWORD_ONLY: 1827 new_param = new_params[param_name].replace(kind=_KEYWORD_ONLY) 1830 elif param.kind in (_KEYWORD_ONLY, _VAR_KEYWORD): 1845 if not params or params[0].kind in (_VAR_KEYWORD, _KEYWORD_ONLY): 2224 kind=_KEYWORD_ONLY, 2471 _KEYWORD_ONLY = _ParameterKind.KEYWORD_ONLY variable 2478 _KEYWORD_ONLY: 'keyword-only', 2510 KEYWORD_ONLY = _KEYWORD_ONLY 2669 if param.kind in (_VAR_KEYWORD, _KEYWORD_ONLY): [all …]
|