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

Method _print_message

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

Source from the content-addressed store, hash-verified

2750 self._print_message(self.format_help(), file)
2751
2752 def _print_message(self, message, file=None):
2753 if message:
2754 file = file or _sys.stderr
2755 try:
2756 file.write(message)
2757 except (AttributeError, OSError):
2758 pass
2759
2760 # ===============
2761 # Exiting methods

Callers 5

print_usageMethod · 0.95
print_helpMethod · 0.95
exitMethod · 0.95
_warningMethod · 0.95
__call__Method · 0.80

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected