summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/PyParse.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/PyParse.py')
-rw-r--r--Lib/idlelib/PyParse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/PyParse.py b/Lib/idlelib/PyParse.py
index 1a9db67..463ad36 100644
--- a/Lib/idlelib/PyParse.py
+++ b/Lib/idlelib/PyParse.py
@@ -105,7 +105,7 @@ _tran = ''.join(_tran)
del ch
try:
- UnicodeType = type(unicode(""))
+ UnicodeType = type(str(""))
except NameError:
UnicodeType = None