Searched refs:option_strings (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Lib/ |
D | argparse.py | 312 if action.option_strings: 427 elif not action.option_strings: 440 option_string = action.option_strings[0] 535 if not action.option_strings: 545 parts.extend(action.option_strings) 552 for option_string in action.option_strings: 663 if action.option_strings or action.nargs in defaulting_nargs: 675 elif argument.option_strings: 676 return '/'.join(argument.option_strings) 766 option_strings, argument [all …]
|
D | optparse.py | 221 self.option_strings = {} 306 opts = self.option_strings[option] 330 self.option_strings[opt] = strings 336 self.option_strings[opt] = strings
|
D | doctest.py | 753 option_strings = m.group(1).replace(',', ' ').split() 754 for option in option_strings:
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | markdown.py | 113 def __init__(self, option_strings, argument 117 option_strings=option_strings,
|
/external/python/cpython2/Doc/library/ |
D | argparse.rst | 760 ... def __init__(self, option_strings, dest, nargs=None, **kwargs): 763 ... super(FooAction, self).__init__(option_strings, dest, **kwargs) 1229 .. class:: Action(option_strings, dest, nargs=None, const=None, default=None, \ 1239 parameter) should have attributes "dest", "option_strings", "default", "type",
|
/external/python/cpython2/Lib/test/ |
D | test_argparse.py | 4197 option_strings, argument 4390 option_strings=['--foo', '-a', '-b'], 4406 option_strings=[],
|