From c75cce9d1dabc883a805593d5d9f84b46d81e067 2012-05-31 06:19:53 From: Matthias BUSSONNIER Date: 2012-05-31 06:19:53 Subject: [PATCH] reintroduce recall magic --- 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__ +