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

Method linereader

IPython/core/ultratb.py:1003–1006  ·  view source on GitHub ↗
(file=file, lnum=[lnum], getline=linecache.getline)

Source from the content-addressed store, hash-verified

1001 return '%s %s\n' % (link, call)
1002
1003 def linereader(file=file, lnum=[lnum], getline=linecache.getline):
1004 line = getline(file, lnum[0])
1005 lnum[0] += 1
1006 return line
1007
1008 # Build the list of names on this line of code where the exception
1009 # occurred.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected