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

Method print_help

tools/python-3.11.9-amd64/Lib/optparse.py:1639–1647  ·  view source on GitHub ↗

print_help(file : file = stdout) Print an extended help message, listing all options and any help text provided with them, to 'file' (default stdout).

(self, file=None)

Source from the content-addressed store, hash-verified

1637 return "".join(result)
1638
1639 def print_help(self, file=None):
1640 """print_help(file : file = stdout)
1641
1642 Print an extended help message, listing all options and any
1643 help text provided with them, to 'file' (default stdout).
1644 """
1645 if file is None:
1646 file = sys.stdout
1647 file.write(self.format_help())
1648
1649# class OptionParser
1650

Callers 3

pickletools.pyFile · 0.45
pickle.pyFile · 0.45
take_actionMethod · 0.45

Calls 2

format_helpMethod · 0.95
writeMethod · 0.45

Tested by

no test coverage detected