Logo Search packages:      
Sourcecode: ipython version File versions  Download package

def IPython::ultraTB::VerboseTB::__init__ (   self,
  color_scheme = 'Linux',
  tb_offset = 0,
  long_header = 0,
  call_pdb = 0,
  include_vars = 1 
)

Specify traceback offset, headers and color scheme.

Define how many frames to drop from the tracebacks. Calling it with
tb_offset=1 allows use of this handler in interpreters which will have
their own code at the top of the traceback (VerboseTB will first
remove that frame before printing the traceback info).

Definition at line 516 of file ultraTB.py.

                                              :
        """Specify traceback offset, headers and color scheme.

        Define how many frames to drop from the tracebacks. Calling it with
        tb_offset=1 allows use of this handler in interpreters which will have
        their own code at the top of the traceback (VerboseTB will first
        remove that frame before printing the traceback info)."""
        TBTools.__init__(self,color_scheme=color_scheme,call_pdb=call_pdb)
        self.tb_offset = tb_offset
        self.long_header = long_header
        self.include_vars = include_vars

    def text(self, etype, evalue, etb, context=5):


Generated by  Doxygen 1.6.0   Back to index