code: def _reclaim_excepthook():
      shell = get_ipython()
      if shell is not None:
          sys.excepthook = shell.excepthook
  
imports: import sys
  import os
  from IPython.external.qt_for_kernel import QtCore, QtGui, enum_helper
  from IPython import get_ipython
label_desc: Use image node_id 2 for calling a global function with example usage: _reclaim_excepthook() without return types