Searched refs:long_option (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/distutils/ |
D | fancy_getopt.py | 98 def add_option (self, long_option, short_option=None, help_string=None): argument 99 if long_option in self.option_index: 101 "option conflict: already an option '%s'" % long_option 103 option = (long_option, short_option, help_string) 105 self.option_index[long_option] = option 108 def has_option (self, long_option): argument 111 return long_option in self.option_index 113 def get_attr_name (self, long_option): argument 117 return string.translate(long_option, longopt_xlate)
|
/external/python/cpython3/Lib/distutils/ |
D | fancy_getopt.py | 90 def add_option(self, long_option, short_option=None, help_string=None): argument 91 if long_option in self.option_index: 93 "option conflict: already an option '%s'" % long_option) 95 option = (long_option, short_option, help_string) 97 self.option_index[long_option] = option 99 def has_option(self, long_option): argument 102 return long_option in self.option_index 104 def get_attr_name(self, long_option): argument 108 return long_option.translate(longopt_xlate)
|
/external/python/cpython2/Doc/distutils/ |
D | apiref.rst | 1320 Wrapper function. *options* is a list of ``(long_option, short_option, 1337 The option_table is a list of 3-tuples: ``(long_option, short_option, 1340 If an option takes an argument, its *long_option* should have ``'='`` appended; 1342 *short_option* should be ``None`` if a *long_option* doesn't have a
|
/external/python/cpython3/Doc/distutils/ |
D | apiref.rst | 1329 Wrapper function. *options* is a list of ``(long_option, short_option, 1345 The option_table is a list of 3-tuples: ``(long_option, short_option, 1348 If an option takes an argument, its *long_option* should have ``'='`` appended; 1350 *short_option* should be ``None`` if a *long_option* doesn't have a
|