{ } Raw JSON

bundles / IPython 9.17.0 / IPython / core / tbtools / TBTools / structured_traceback

function

IPython.core.tbtools:TBTools.structured_traceback

source: /dev/ipython/IPython/core/tbtools.py:571

Signature

def structured_traceback(self, etype: type, evalue: BaseException | None, etb: TracebackType | None = None, tb_offset: int | None = None, context: int = 5) → list[str]

Summary

Return a list of traceback frames.

Extended Summary

Must be implemented by each class.

Aliases

  • IPython.core.doctb.TBTools.structured_traceback