Home
last modified time | relevance | path

Searched refs:option_strings (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython2/Lib/
Dargparse.py312 if action.option_strings:
431 elif not action.option_strings:
444 option_string = action.option_strings[0]
539 if not action.option_strings:
549 parts.extend(action.option_strings)
556 for option_string in action.option_strings:
667 if action.option_strings or action.nargs in defaulting_nargs:
679 elif argument.option_strings:
680 return '/'.join(argument.option_strings)
770 option_strings, argument
[all …]
Doptparse.py221 self.option_strings = {}
306 opts = self.option_strings[option]
330 self.option_strings[opt] = strings
336 self.option_strings[opt] = strings
Ddoctest.py753 option_strings = m.group(1).replace(',', ' ').split()
754 for option in option_strings:
/external/llvm-project/polly/utils/
Dargparse.py345 if action.option_strings:
454 elif not action.option_strings:
467 option_string = action.option_strings[0]
562 if not action.option_strings:
572 parts.extend(action.option_strings)
579 for option_string in action.option_strings:
690 if action.option_strings or action.nargs in defaulting_nargs:
702 elif argument.option_strings:
703 return '/'.join(argument.option_strings)
793 option_strings, argument
[all …]
/external/python/cpython3/Lib/
Dargparse.py314 if action.option_strings:
439 elif not action.option_strings:
453 option_string = action.option_strings[0]
548 if not action.option_strings:
559 parts.extend(action.option_strings)
566 for option_string in action.option_strings:
696 if action.option_strings or action.nargs in defaulting_nargs:
724 elif argument.option_strings:
725 return '/'.join(argument.option_strings)
815 option_strings, argument
[all …]
Doptparse.py227 self.option_strings = {}
312 opts = self.option_strings[option]
336 self.option_strings[opt] = strings
342 self.option_strings[opt] = strings
Ddoctest.py757 option_strings = m.group(1).replace(',', ' ').split()
758 for option in option_strings:
/external/chromium-trace/catapult/devil/devil/utils/
Dmarkdown.py116 option_strings, argument
121 option_strings=option_strings,
/external/llvm-project/debuginfo-tests/dexter/dex/utils/
DExtArgParse.py70 for item in sublist.option_strings
/external/tensorflow/tensorflow/lite/python/
Dtflite_convert.py586 def __init__(self, option_strings, dest, nargs=None, **kwargs): argument
593 option_strings, dest, nargs=nargs, **kwargs)
/external/llvm-project/llvm/utils/UpdateTestChecks/
Dcommon.py589 autogenerated_note_args += action.option_strings[0] + ' '
/external/python/cpython3/Doc/library/
Dargparse.rst667 …_StoreAction(option_strings=['--integers'], dest='integers', nargs=None, const=None, default=None,…
863 ... def __init__(self, option_strings, dest, nargs=None, **kwargs):
866 ... super(FooAction, self).__init__(option_strings, dest, **kwargs)
1341 .. class:: Action(option_strings, dest, nargs=None, const=None, default=None, \
1352 parameter) should have attributes "dest", "option_strings", "default", "type",
/external/python/cpython2/Doc/library/
Dargparse.rst762 ... def __init__(self, option_strings, dest, nargs=None, **kwargs):
765 ... super(FooAction, self).__init__(option_strings, dest, **kwargs)
1233 .. class:: Action(option_strings, dest, nargs=None, const=None, default=None, \
1243 parameter) should have attributes "dest", "option_strings", "default", "type",
/external/python/cpython2/Lib/test/
Dtest_argparse.py4197 option_strings, argument
4390 option_strings=['--foo', '-a', '-b'],
4406 option_strings=[],
/external/python/cpython3/Lib/test/
Dtest_argparse.py4521 option_strings, argument
4704 option_strings=['--foo', '-a', '-b'],
4720 option_strings=[],