MCPcopy Index your code
hub / github.com/python/cpython / format_help

Method format_help

Lib/argparse.py:308–313  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

306 # =======================
307
308 def format_help(self):
309 help = self._root_section.format_help()
310 if help:
311 help = self._long_break_matcher.sub('\n\n', help)
312 help = help.strip('\n') + '\n'
313 return help
314
315 def _join_parts(self, part_strings):
316 return ''.join([part

Callers 5

__call__Method · 0.45
add_subparsersMethod · 0.45
format_usageMethod · 0.45
format_helpMethod · 0.45

Calls 2

subMethod · 0.45
stripMethod · 0.45

Tested by 1