MCPcopy Index your code
hub / github.com/RustPython/RustPython / print_usage

Method print_usage

Lib/argparse.py:2742–2745  ·  view source on GitHub ↗
(self, file=None)

Source from the content-addressed store, hash-verified

2740 # =====================
2741
2742 def print_usage(self, file=None):
2743 if file is None:
2744 file = _sys.stdout
2745 self._print_message(self.format_usage(), file)
2746
2747 def print_help(self, file=None):
2748 if file is None:

Callers 1

errorMethod · 0.95

Calls 2

_print_messageMethod · 0.95
format_usageMethod · 0.95

Tested by

no test coverage detected