SystemExit

SystemExit is an Exception which, when raised, causes a clean exit. As it inherits directly from BaseException, it will not be caught by " ".

The function  raises SystemExit.