Skip to content

Commit

Permalink
Ensure %recall does not show error after argument eval
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMino committed May 8, 2021
1 parent 6c3c263 commit 1f29ce5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions IPython/core/magics/history.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ def recall(self, arg):
return
else:
self.shell.set_next_input(cmd.rstrip())
return
print("Couldn't evaluate or find in history:", arg)

@line_magic
Expand Down

0 comments on commit 1f29ce5

Please sign in to comment.