Skip to content

Commit 70477ef

Browse files
committed
Remove more duplicated code
1 parent 4a36757 commit 70477ef

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bpython/curtsiesfrontend/interpreter.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import sys
2-
from codeop import CommandCompiler
32
from six import iteritems, text_type
43

54
from pygments.token import Generic, Token, Keyword, Name, Comment, String
@@ -75,8 +74,6 @@ def __init__(self, locals=None, encoding=None):
7574
"""
7675
ReplInterpreter.__init__(self, locals, encoding)
7776

78-
self.compile = CommandCompiler()
79-
8077
# typically changed after being instantiated
8178
# but used when interpreter used corresponding REPL
8279
def write(err_line):

0 commit comments

Comments
 (0)