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

bundles / IPython 9.15.0.dev / IPython / core / doctb / _format_traceback_lines

function

IPython.core.doctb:_format_traceback_lines

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

Signature

def _format_traceback_lines(lines: list[stack_data.Line], theme: Theme, has_colors: bool, lvals_toks: list[TokenStream]) → TokenStream

Summary

Format tracebacks lines with pointing arrow, leading numbers, this assumes the stack have been extracted using stackdata.

Parameters

lines : list[Line]

Aliases

  • IPython.core.doctb._format_traceback_lines