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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy