/external/python/cpython2/Lib/ |
D | argparse.py | 1188 prefix_chars, argument 1195 self.prefix_chars = prefix_chars 1276 chars = self.prefix_chars 1410 if not option_string[0] in self.prefix_chars: 1413 tup = option_string, self.prefix_chars 1418 if option_string[0] in self.prefix_chars: 1420 if option_string[1] in self.prefix_chars: 1430 dest = dest_option_string.lstrip(self.prefix_chars) 1494 update('prefix_chars', container.prefix_chars) 1568 prefix_chars='-', argument [all …]
|
/external/llvm-project/polly/utils/ |
D | argparse.py | 1192 prefix_chars, argument 1199 self.prefix_chars = prefix_chars 1280 chars = self.prefix_chars 1407 if not option_string[0] in self.prefix_chars: 1410 tup = option_string, self.prefix_chars 1415 if option_string[0] in self.prefix_chars: 1417 if option_string[1] in self.prefix_chars: 1427 dest = dest_option_string.lstrip(self.prefix_chars) 1491 update('prefix_chars', container.prefix_chars) 1564 prefix_chars='-', argument [all …]
|
/external/python/cpython3/Lib/ |
D | argparse.py | 1305 prefix_chars, argument 1312 self.prefix_chars = prefix_chars 1394 chars = self.prefix_chars 1532 if not option_string[0] in self.prefix_chars: 1534 'prefix_chars': self.prefix_chars} 1541 if len(option_string) > 1 and option_string[1] in self.prefix_chars: 1551 dest = dest_option_string.lstrip(self.prefix_chars) 1617 update('prefix_chars', container.prefix_chars) 1693 prefix_chars='-', argument 1703 prefix_chars=prefix_chars, [all …]
|
/external/llvm-project/lldb/packages/Python/lldbsuite/test/ |
D | dotest_args.py | 16 prefix_chars='+-',
|
/external/tensorflow/third_party/toolchains/preconfig/ubuntu16.04/gcc7_manylinux2010-nvcc-cuda10.0/windows/ |
D | msvc_wrapper_for_nvcc.py | 58 parser = ArgumentParser(prefix_chars='-/')
|
/external/tensorflow/third_party/gpus/crosstool/windows/ |
D | msvc_wrapper_for_nvcc.py.tpl | 58 parser = ArgumentParser(prefix_chars='-/')
|
/external/python/cpython3/Lib/test/ |
D | test_argparse.py | 422 parser_signature = Sig(prefix_chars='+:/', add_help=False) 444 parser_signature = Sig(prefix_chars='+:/', add_help=True) 464 parser_signature = Sig(prefix_chars='+-', add_help=False) 825 parser_signature = Sig(prefix_chars='+', allow_abbrev=False) 861 parser_signature = Sig(prefix_chars='+', allow_abbrev=False) 1324 parser_signature = Sig(prefix_chars='-+') 1914 def _get_parser(self, subparser_help=False, prefix_chars=None, argument 1917 if prefix_chars: 1919 prog='PROG', description='main description', prefix_chars=prefix_chars) 1921 prefix_chars[0] * 2 + 'foo', action='store_true', help='foo help') [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_argparse.py | 436 parser_signature = Sig(prefix_chars='+:/', add_help=False) 458 parser_signature = Sig(prefix_chars='+:/', add_help=True) 478 parser_signature = Sig(prefix_chars='+-', add_help=False) 1217 parser_signature = Sig(prefix_chars='-+') 1751 def _get_parser(self, subparser_help=False, prefix_chars=None): argument 1753 if prefix_chars: 1755 prog='PROG', description='main description', prefix_chars=prefix_chars) 1757 prefix_chars[0] * 2 + 'foo', action='store_true', help='foo help') 1878 parser = self._get_parser(prefix_chars='+:-') 1897 parser = self._get_parser(prefix_chars='+:/') [all …]
|
/external/rust/crates/textwrap/src/ |
D | lib.rs | 676 let prefix_chars: &[_] = &[' ', '-', '+', '*', '>', '#', '/']; in unfill() localVariable 681 let without_prefix = line.trim_start_matches(prefix_chars); in unfill()
|
/external/python/cpython2/Doc/library/ |
D | argparse.rst | 142 prefix_chars='-', fromfile_prefix_chars=None, \ 445 prefix_chars section in ArgumentParser objects 451 like ``+f`` or ``/foo``, may specify them using the ``prefix_chars=`` argument 454 >>> parser = argparse.ArgumentParser(prog='PROG', prefix_chars='-+') 460 The ``prefix_chars=`` argument defaults to ``'-'``. Supplying a set of 587 if the ``prefix_chars=`` is specified and does not include ``-``, in 589 this case, the first character in ``prefix_chars`` is used to prefix 592 >>> parser = argparse.ArgumentParser(prog='PROG', prefix_chars='+/')
|
/external/python/cpython3/Doc/library/ |
D | argparse.rst | 143 prefix_chars='-', fromfile_prefix_chars=None, \ 481 prefix_chars section in ArgumentParser objects 487 like ``+f`` or ``/foo``, may specify them using the ``prefix_chars=`` argument 490 >>> parser = argparse.ArgumentParser(prog='PROG', prefix_chars='-+') 496 The ``prefix_chars=`` argument defaults to ``'-'``. Supplying a set of 643 if the ``prefix_chars=`` is specified and does not include ``-``, in 645 this case, the first character in ``prefix_chars`` is used to prefix 648 >>> parser = argparse.ArgumentParser(prog='PROG', prefix_chars='+/')
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.1rc1.rst | 887 Argparse now uses the first element of prefix_chars as the option character 888 for the added 'h/help' option if prefix_chars does not contain a '-',
|
/external/python/cpython3/Misc/ |
D | HISTORY | 12568 - Issue #9444: Argparse now uses the first element of prefix_chars as the option 12569 character for the added 'h/help' option if prefix_chars does not contain a
|