bundles / IPython 9.14.0.dev / IPython / core / ultratb / AutoFormattedTB
class
IPython.core.ultratb:AutoFormattedTB
source: /IPython/core/ultratb.py:1168
Signature
class AutoFormattedTB(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
A traceback printer which can be called on the fly.
Extended Summary
It will find out about exceptions by itself.
A brief example
AutoTB = AutoFormattedTB(mode = 'Verbose', theme_name='linux') try: ... except: AutoTB() # or AutoTB(out=logfile) where logfile is an open file object
Aliases
IPython.core.ultratb.AutoFormattedTB