diff --git a/IPython/core/magics/code.py b/IPython/core/magics/code.py index 6679abb..7aad82a 100644 --- a/IPython/core/magics/code.py +++ b/IPython/core/magics/code.py @@ -128,7 +128,7 @@ class CodeMagics(Magics): extension. So it has been renamed simply into %load. You can look at `%load`'s docstring for more info. """ - self.magic_load(arg_s) + self.load(arg_s) @line_magic def load(self, arg_s): diff --git a/IPython/core/magics/history.py b/IPython/core/magics/history.py index 594824d..f5076b6 100644 --- a/IPython/core/magics/history.py +++ b/IPython/core/magics/history.py @@ -292,3 +292,10 @@ class HistoryMagics(Magics): print(histlines) print("=== Output: ===") self.shell.run_cell("\n".join(hist), store_history=False) + + @line_magic + def recall(self,arg): + self.rep(arg) + + recall.__doc__ = rep.__doc__ +