Deprecated since IPython 6.0
(filename, module_globals=None)
| 12 | # getlines has to be looked up at runtime, because doctests monkeypatch it. |
| 13 | @functools.wraps(linecache.getlines) |
| 14 | def getlines(filename, module_globals=None): |
| 15 | """ |
| 16 | Deprecated since IPython 6.0 |
| 17 | """ |
| 18 | warn(("`IPython.utils.ulinecache.getlines` is deprecated since" |
| 19 | " IPython 6.0 and will be removed in future versions."), |
| 20 | DeprecationWarning, stacklevel=2) |
| 21 | return linecache.getlines(filename, module_globals=module_globals) |
nothing calls this directly
no outgoing calls
no test coverage detected