diff --git a/IPython/core/prefilter.py b/IPython/core/prefilter.py index 2a8ca69..ddc32ee 100755 --- a/IPython/core/prefilter.py +++ b/IPython/core/prefilter.py @@ -158,7 +158,7 @@ class LineInfo(object): without worrying about *further* damaging state. """ if not self._oinfo: - self._oinfo = ip._ofind(self.ifun) + self._oinfo = ip.shell._ofind(self.ifun) return self._oinfo def __str__(self):