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

Method format_help

Lib/optparse.py:1088–1093  ·  view source on GitHub ↗
(self, formatter)

Source from the content-addressed store, hash-verified

1086 # -- Help-formatting methods ---------------------------------------
1087
1088 def format_help(self, formatter):
1089 result = formatter.format_heading(self.title)
1090 formatter.indent()
1091 result += OptionContainer.format_help(self, formatter)
1092 formatter.dedent()
1093 return result
1094
1095
1096class OptionParser (OptionContainer):

Callers 15

format_option_helpMethod · 0.45
_print_helpMethod · 0.45
test_helpMethod · 0.45
test_help_blankMethod · 0.45
test_alias_helpMethod · 0.45
test_parent_helpMethod · 0.45
test_groups_parentsMethod · 0.45

Calls 3

format_headingMethod · 0.45
indentMethod · 0.45
dedentMethod · 0.45

Tested by 15

test_helpMethod · 0.36
test_help_blankMethod · 0.36
test_alias_helpMethod · 0.36
test_parent_helpMethod · 0.36
test_groups_parentsMethod · 0.36
test_helpMethod · 0.36