We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cefcb25 commit 25a1a60Copy full SHA for 25a1a60
bpython/curtsiesfrontend/repl.py
@@ -977,7 +977,7 @@ def reevaluate(self, insert_into_history=False):
977
self.display_lines = []
978
979
if not self.weak_rewind:
980
- self.interp = code.InteractiveInterpreter()
+ self.interp = self.interp.__class__()
981
self.coderunner.interp = self.interp
982
983
self.buffer = []
0 commit comments