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

Method _print_help

Lib/unittest/main.py:106–113  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

104 self.runTests()
105
106 def _print_help(self, *args, **kwargs):
107 if self.module is None:
108 print(self._main_parser.format_help())
109 print(MAIN_EXAMPLES % {'prog': self.progName})
110 self._discovery_parser.print_help()
111 else:
112 print(self._main_parser.format_help())
113 print(MODULE_EXAMPLES % {'prog': self.progName})
114
115 def parseArgs(self, argv):
116 self._initArgParsers()

Callers

nothing calls this directly

Calls 2

format_helpMethod · 0.45
print_helpMethod · 0.45

Tested by

no test coverage detected