code: def BdbQuit_IPython_excepthook(self, et, ev, tb, tb_offset=None):
      raise ValueError(
          "`BdbQuit_IPython_excepthook` is deprecated since version 5.1",
          DeprecationWarning,
          stacklevel=2,
      )
  
imports: import inspect
  import linecache
  import sys
  import re
  import os
  from IPython import get_ipython
  from contextlib import contextmanager
  from IPython.utils import PyColorize
  from IPython.utils import coloransi, py3compat
  from IPython.core.excolors import exception_colors
  from pdb import Pdb
label_desc: Use image node_id 3 for calling a global function with example usage: BdbQuit_IPython_excepthook(et, ev, tb, tb_offset) without return types