python · python/SystemExit
SystemExit
SystemExit
Raised by sys.exit(). If not caught, the interpreter exits cleanly. The args[0] attribute holds the exit status: 0 or None means success, any other integer is the exit code, a string is printed to stderr.