MCPcopy Index your code
hub / github.com/RustPython/RustPython / format_help

Method format_help

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

Source from the content-addressed store, hash-verified

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

Callers 4

__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

no test coverage detected