{ } Raw JSON

bundles / IPython 9.17.0 / IPython / core / doctb / DocTB / structured_traceback

function

IPython.core.doctb:DocTB.structured_traceback

source: /dev/ipython/IPython/core/doctb.py:392

Signature

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

Summary

Return a nice text document describing the traceback.

Aliases

  • IPython.core.doctb.DocTB.structured_traceback