diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index ecad0ed881da45..ab198732a427ea 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -374,7 +374,7 @@ always available. This function prints out a given traceback and exception to ``sys.stderr``. - When an exception is raised and uncaught, the interpreter calls + When an exception other than :exc:`SystemExit` is raised and uncaught, the interpreter calls ``sys.excepthook`` with three arguments, the exception class, exception instance, and a traceback object. In an interactive session this happens just before control is returned to the prompt; in a Python program this happens just