MCPcopy Create free account
hub / github.com/ipython/ipython / text

Method text

IPython/core/ultratb.py:580–587  ·  view source on GitHub ↗

Return formatted traceback. Subclasses may override this if they add extra arguments.

(self, etype, value, tb, tb_offset=None, context=5)

Source from the content-addressed store, hash-verified

578 return '\n'.join(stb)
579
580 def text(self, etype, value, tb, tb_offset=None, context=5):
581 """Return formatted traceback.
582
583 Subclasses may override this if they add extra arguments.
584 """
585 tb_list = self.structured_traceback(etype, value, tb,
586 tb_offset, context)
587 return self.stb2text(tb_list)
588
589 def structured_traceback(self, etype, evalue, tb, tb_offset=None,
590 context=5, mode=None):

Callers 10

__call__Method · 0.45
handlerMethod · 0.45
__call__Method · 0.45
_repr_pretty_Method · 0.45
__call__Method · 0.45
_repr_pretty_Method · 0.45
foo_printerFunction · 0.45
_repr_pretty_Method · 0.45
_repr_pretty_Method · 0.45

Calls 2

structured_tracebackMethod · 0.95
stb2textMethod · 0.95

Tested by 2

_repr_pretty_Method · 0.36
foo_printerFunction · 0.36