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

Method exit

Lib/argparse.py:2870–2873  ·  view source on GitHub ↗
(self, status=0, message=None)

Source from the content-addressed store, hash-verified

2868 # ===============
2869
2870 def exit(self, status=0, message=None):
2871 if message:
2872 self._print_message(message, _sys.stderr)
2873 _sys.exit(status)
2874
2875 def error(self, message):
2876 """error(message: string)

Callers 6

mainFunction · 0.95
mainFunction · 0.95
errorMethod · 0.95
__call__Method · 0.45
__call__Method · 0.45

Calls 1

_print_messageMethod · 0.95

Tested by 1