bundles / IPython 9.5.0 / IPython / core / ultratb / FormattedTB
class
IPython.core.ultratb:FormattedTB
source: /IPython/core/ultratb.py :987
Signature
class FormattedTB ( mode = Plain , theme_name = linux , call_pdb = False , ostream = None , tb_offset = 0 , long_header = False , include_vars = False , check_cache = None , debugger_cls = None ) Members
Summary
Subclass ListTB but allow calling with a traceback.
Extended Summary
It can thus be used as a sys.excepthook for Python > 2.1.
Also adds 'Context' and 'Verbose' modes, not available in ListTB.
Allows a tb_offset to be specified. This is useful for situations where one needs to remove a number of topmost frames from the traceback (such as occurs with python programs that themselves execute other python code, like Python shells).
Aliases
-
IPython.core.ultratb.FormattedTB