You are viewing an older version (9.12.0).Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython 9.12.0 / IPython / core / tbtools / TBTools / structured_traceback

function

IPython.core.tbtools:TBTools.structured_traceback

source: /IPython/core/tbtools.py:543

Signature

def structured_traceback(self, etype: type, evalue: BaseException | None, etb: Optional[TracebackType] = None, tb_offset: Optional[int] = 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