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

Method exit

tools/python-3.11.9-amd64/Lib/argparse.py:2624–2627  ·  view source on GitHub ↗
(self, status=0, message=None)

Source from the content-addressed store, hash-verified

2622 # Exiting methods
2623 # ===============
2624 def exit(self, status=0, message=None):
2625 if message:
2626 self._print_message(message, _sys.stderr)
2627 _sys.exit(status)
2628
2629 def error(self, message):
2630 """error(message: string)

Callers 5

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

no test coverage detected