diff --git a/IPython/core/magics/basic.py b/IPython/core/magics/basic.py index 534a210..d7f3526 100644 --- a/IPython/core/magics/basic.py +++ b/IPython/core/magics/basic.py @@ -185,7 +185,7 @@ Currently the magic system has the following functions:""", raw = 'r' in opts oname = args and args or '_' - info = self._ofind(oname) + info = self.shell._ofind(oname) if info['found']: txt = (raw and str or pformat)( info['obj'] ) page.page(txt)