MCPcopy Create free account
hub / github.com/apache/madlib / exit

Method exit

src/madpack/argparse.py:2355–2358  ·  view source on GitHub ↗
(self, status=0, message=None)

Source from the content-addressed store, hash-verified

2353 # Exiting methods
2354 # ===============
2355 def exit(self, status=0, message=None):
2356 if message:
2357 self._print_message(message, _sys.stderr)
2358 _sys.exit(status)
2359
2360 def error(self, message):
2361 """error(message: string)

Callers 4

errorMethod · 0.95
__call__Method · 0.80
__call__Method · 0.80
TestIfNoUTF8BOM.pyFile · 0.80

Calls 1

_print_messageMethod · 0.95

Tested by

no test coverage detected