Skip to content

Commit

Permalink
Merge pull request ipython#12952 from MrMino/quiet_recall
Browse files Browse the repository at this point in the history
Ensure %recall does not show error after argument eval
  • Loading branch information
Carreau authored May 11, 2021
2 parents 4496990 + 1f29ce5 commit 9e003eb
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 9e003eb

Please sign in to comment.