Home
last modified time | relevance | path

Searched refs:format_help (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/test/
Dtest_argparse.py2097 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 …]
Dtest_optparse.py184 actual_help = parser.format_help()
/third_party/python/Lib/
Doptparse.py1067 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())
Dargparse.py209 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)
Dtarfile.py2553 parser.exit(1, parser.format_help())
/third_party/python/Lib/unittest/
Dmain.py113 print(self._main_parser.format_help())
117 print(self._main_parser.format_help())
/third_party/python/Doc/library/
Dargparse.rst2004 .. method:: ArgumentParser.format_help()