MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / format_help

Method format_help

tools/python-3.11.9-amd64/Lib/argparse.py:286–291  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

284 # Help-formatting methods
285 # =======================
286 def format_help(self):
287 help = self._root_section.format_help()
288 if help:
289 help = self._long_break_matcher.sub('\n\n', help)
290 help = help.strip('\n') + '\n'
291 return help
292
293 def _join_parts(self, part_strings):
294 return ''.join([part

Callers 4

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

Calls 2

stripMethod · 0.80
subMethod · 0.45

Tested by

no test coverage detected