From 5ca2a1b968730a7d5f80680e46816745a80cdb55 2021-06-28 11:57:17 From: Blazej Michalik <6691643+MrMino@users.noreply.github.com> Date: 2021-06-28 11:57:17 Subject: [PATCH] Backport PR #13033: Fix typo in excepthook docstring --- diff --git a/IPython/core/interactiveshell.py b/IPython/core/interactiveshell.py index 965e372..22c6c31 100644 --- a/IPython/core/interactiveshell.py +++ b/IPython/core/interactiveshell.py @@ -1956,7 +1956,7 @@ class InteractiveShell(SingletonConfigurable): sys.excepthook themselves. I guess this is a feature that enables them to keep running after exceptions that would otherwise kill their mainloop. This is a bother for IPython - which excepts to catch all of the program exceptions with a try: + which expects to catch all of the program exceptions with a try: except: statement. Normally, IPython sets sys.excepthook to a CrashHandler instance, so if