Home
last modified time | relevance | path

Searched refs:_UNRECOGNIZED_ARGS_ATTR (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/
Dargparse.py106 _UNRECOGNIZED_ARGS_ATTR = '_unrecognized_args' variable
1105 vars(namespace).setdefault(_UNRECOGNIZED_ARGS_ATTR, [])
1106 getattr(namespace, _UNRECOGNIZED_ARGS_ATTR).extend(arg_strings)
1738 if hasattr(namespace, _UNRECOGNIZED_ARGS_ATTR):
1739 args.extend(getattr(namespace, _UNRECOGNIZED_ARGS_ATTR))
1740 delattr(namespace, _UNRECOGNIZED_ARGS_ATTR)
/external/python/cpython3/Lib/
Dargparse.py101 _UNRECOGNIZED_ARGS_ATTR = '_unrecognized_args' variable
1212 vars(namespace).setdefault(_UNRECOGNIZED_ARGS_ATTR, [])
1213 getattr(namespace, _UNRECOGNIZED_ARGS_ATTR).extend(arg_strings)
1858 if hasattr(namespace, _UNRECOGNIZED_ARGS_ATTR):
1859 args.extend(getattr(namespace, _UNRECOGNIZED_ARGS_ATTR))
1860 delattr(namespace, _UNRECOGNIZED_ARGS_ATTR)