diff --git a/IPython/core/magics/basic.py b/IPython/core/magics/basic.py index d803ea7..978a08d 100644 --- a/IPython/core/magics/basic.py +++ b/IPython/core/magics/basic.py @@ -271,7 +271,7 @@ of any of them, type %magic_name?, e.g. '%cd?'. Currently the magic system has the following functions:""", magic_docs, "Summary of magic functions (from %slsmagic):" % magic_escapes['line'], - self._lsmagic(), + str(self.lsmagic()), ] page.page('\n'.join(out))