diff --git a/IPython/core/magics/history.py b/IPython/core/magics/history.py index 594824d..10a62f6 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.rerun(arg) + + recall.__doc__ = rerun.__doc__ +