MCPcopy Create free account
hub / github.com/ipython/ipython / make_arrow

Function make_arrow

IPython/core/debugger.py:53–59  ·  view source on GitHub ↗

generate the leading arrow in front of traceback or debugger

(pad)

Source from the content-addressed store, hash-verified

51# the Tracer constructor.
52
53def make_arrow(pad):
54 """generate the leading arrow in front of traceback or debugger"""
55 if pad >= 2:
56 return '-'*(pad-2) + '> '
57 elif pad == 1:
58 return '>'
59 return ''
60
61
62def BdbQuit_excepthook(et, ev, tb, excepthook=None):

Callers 1

__format_lineMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected