X Tutup
Skip to content

Commit a8bae8a

Browse files
committed
Use bpython._py3compat.PythonLexer everywhere
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent f48a228 commit a8bae8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bpython/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
# These are used for syntax highlighting
6565
from pygments import format
6666
from pygments.formatters import TerminalFormatter
67-
from pygments.lexers import PythonLexer
67+
from bpython._py3compat import PythonLexer
6868
from pygments.token import Token
6969
from bpython.formatter import BPythonFormatter
7070

bpython/curtsiesfrontend/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import unicodedata
1616

1717
from pygments import format
18-
from pygments.lexers import PythonLexer
18+
from bpython._py3compat import PythonLexer
1919
from pygments.formatters import TerminalFormatter
2020
from interpreter import Interp
2121

0 commit comments

Comments
 (0)
X Tutup