MCPcopy Index your code
hub / github.com/python/mypy / print_usage

Method print_usage

mypy/main.py:415–418  ·  view source on GitHub ↗
(self, file: SupportsWrite[str] | None = None)

Source from the content-addressed store, hash-verified

413 # Help-printing methods
414 # =====================
415 def print_usage(self, file: SupportsWrite[str] | None = None) -> None:
416 if file is None:
417 file = self.stdout
418 self._print_message(self.format_usage(), file)
419
420 def print_help(self, file: SupportsWrite[str] | None = None) -> None:
421 if file is None:

Callers 2

errorMethod · 0.95
mainFunction · 0.80

Calls 1

_print_messageMethod · 0.95

Tested by

no test coverage detected