Show More
@@ -128,7 +128,7 class CodeMagics(Magics): | |||||
128 | extension. So it has been renamed simply into %load. You can look at |
|
128 | extension. So it has been renamed simply into %load. You can look at | |
129 | `%load`'s docstring for more info. |
|
129 | `%load`'s docstring for more info. | |
130 | """ |
|
130 | """ | |
131 |
self. |
|
131 | self.load(arg_s) | |
132 |
|
132 | |||
133 | @line_magic |
|
133 | @line_magic | |
134 | def load(self, arg_s): |
|
134 | def load(self, arg_s): |
@@ -292,3 +292,10 class HistoryMagics(Magics): | |||||
292 | print(histlines) |
|
292 | print(histlines) | |
293 | print("=== Output: ===") |
|
293 | print("=== Output: ===") | |
294 | self.shell.run_cell("\n".join(hist), store_history=False) |
|
294 | self.shell.run_cell("\n".join(hist), store_history=False) | |
|
295 | ||||
|
296 | @line_magic | |||
|
297 | def recall(self,arg): | |||
|
298 | self.rep(arg) | |||
|
299 | ||||
|
300 | recall.__doc__ = rep.__doc__ | |||
|
301 |
General Comments 0
You need to be logged in to leave comments.
Login now