This is a development version (9.18.0.dev) and may be unstable.Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython 9.18.0.dev / IPython / core / tbtools / TBTools / structured_traceback

function

IPython.core.tbtools:TBTools.structured_traceback

source: /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