Module: utils.ulinecache
Wrapper around linecache which decodes files to unicode according to PEP 263.
This is only needed for Python 2 - linecache in Python 3 does the same thing
itself.
2 Functions
-
IPython.utils.ulinecache.getlines(filename, module_globals=None)
Get the lines (as unicode) for a file from the cache.
Update the cache if it doesn’t contain an entry for this file already.
-
IPython.utils.ulinecache.getline(filename, lineno, module_globals=None)