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

Method format_help

tools/python-3.11.9-amd64/Lib/optparse.py:1098–1103  ·  view source on GitHub ↗
(self, formatter)

Source from the content-addressed store, hash-verified

1096 # -- Help-formatting methods ---------------------------------------
1097
1098 def format_help(self, formatter):
1099 result = formatter.format_heading(self.title)
1100 formatter.indent()
1101 result += OptionContainer.format_help(self, formatter)
1102 formatter.dedent()
1103 return result
1104
1105
1106class OptionParser (OptionContainer):

Callers 2

format_option_helpMethod · 0.45
_print_helpMethod · 0.45

Calls 3

dedentMethod · 0.80
format_headingMethod · 0.45
indentMethod · 0.45

Tested by

no test coverage detected