X Tutup
Skip to content

Commit 6445871

Browse files
committed
Remove use of six.text_type
1 parent 50d443b commit 6445871

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bpython/curtsiesfrontend/interpreter.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import sys
2-
from six import text_type
32

43
from pygments.token import Generic, Token, Keyword, Name, Comment, String
54
from pygments.token import Error, Literal, Number, Operator, Punctuation
@@ -74,7 +73,7 @@ def write(err_line):
7473
"""Default stderr handler for tracebacks
7574
7675
Accepts FmtStrs so interpreters can output them"""
77-
sys.stderr.write(text_type(err_line))
76+
sys.stderr.write(str(err_line))
7877

7978
self.write = write
8079
self.outfile = self

0 commit comments

Comments
 (0)
X Tutup