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

Method stb2text

IPython/core/ultratb.py:576–578  ·  view source on GitHub ↗

Convert a structured traceback (a list) to a string.

(self, stb)

Source from the content-addressed store, hash-verified

574 self.Colors = self.color_scheme_table.active_colors
575
576 def stb2text(self, stb):
577 """Convert a structured traceback (a list) to a string."""
578 return '\n'.join(stb)
579
580 def text(self, etype, value, tb, tb_offset=None, context=5):
581 """Return formatted traceback.

Callers 4

textMethod · 0.95
wrappedMethod · 0.45
_showtracebackMethod · 0.45
_showtracebackFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected