Searched refs:format_help (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Lib/unittest/ |
D | main.py | 113 print(self._main_parser.format_help()) 117 print(self._main_parser.format_help())
|
/third_party/python/Lib/test/ |
D | test_argparse.py | 2097 self.assertEqual(self.parser.format_help(), textwrap.dedent('''\ 2116 self.assertEqual(parser.format_help(), textwrap.dedent('''\ 2137 self.assertEqual(parser.format_help(), textwrap.dedent('''\ 2155 self.assertEqual(parser.format_help(), textwrap.dedent('''\ 2172 self.assertEqual(parser.format_help(), textwrap.dedent('''\ 2188 self.assertEqual(parser.format_help(), textwrap.dedent('''\ 2205 self.assertEqual(self.command_help_parser.format_help(), 2235 self.assertEqual(parser.format_help(), textwrap.dedent('''\ 2305 self.assertEqual(parser.format_help(), textwrap.dedent("""\ 2492 parser_help = parser.format_help() [all …]
|
D | test_optparse.py | 184 actual_help = parser.format_help()
|
/third_party/python/Lib/ |
D | optparse.py | 1067 def format_help(self, formatter): member in OptionContainer 1098 def format_help(self, formatter): member in OptionGroup 1101 result += OptionContainer.format_help(self, formatter) 1618 result.append(group.format_help(formatter)) 1627 def format_help(self, formatter=None): member in OptionParser 1647 file.write(self.format_help())
|
D | argparse.py | 209 def format_help(self): member in HelpFormatter._Section 241 self._add_item(section.format_help, []) 282 def format_help(self): member in HelpFormatter 283 help = self._root_section.format_help() 1124 parser._print_message(formatter.format_help(), _sys.stdout) 1794 kwargs['prog'] = formatter.format_help().strip() 2516 return formatter.format_help() 2518 def format_help(self): member in ArgumentParser 2539 return formatter.format_help() 2555 self._print_message(self.format_help(), file)
|
D | tarfile.py | 2553 parser.exit(1, parser.format_help())
|
/third_party/python/Doc/library/ |
D | argparse.rst | 2004 .. method:: ArgumentParser.format_help()
|