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

bundles / IPython 9.11.0 / IPython / core / tbtools / _format_traceback_lines

function

IPython.core.tbtools:_format_traceback_lines

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

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.tbtools._format_traceback_lines