Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 70477ef

Browse filesBrowse files
committed
Remove more duplicated code
1 parent 4a36757 commit 70477ef
Copy full SHA for 70477ef

1 file changed

-3Lines changed: 0 additions & 3 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎bpython/curtsiesfrontend/interpreter.py‎

Copy file name to clipboardExpand all lines: bpython/curtsiesfrontend/interpreter.py
-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.