Skip to content

Commit 14c17c1

Browse files
committed
Turn Interpreter into a new-style class
1 parent 072576a commit 14c17c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def estimate(self):
8181
return self.running_time - self.last_command
8282

8383

84-
class Interpreter(code.InteractiveInterpreter):
84+
class Interpreter(code.InteractiveInterpreter, object):
8585
"""Source code interpreter for use in bpython."""
8686

8787
bpython_input_re = LazyReCompile(r'<bpython-input-\d+>')

0 commit comments

Comments
 (0)