summaryrefslogtreecommitdiffstats
path: root/Lib/encodings/punycode.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/encodings/punycode.py')
-rw-r--r--Lib/encodings/punycode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/encodings/punycode.py b/Lib/encodings/punycode.py
index 0e4aa0b..c86aad7 100644
--- a/Lib/encodings/punycode.py
+++ b/Lib/encodings/punycode.py
@@ -189,7 +189,7 @@ def punycode_decode(text, errors):
else:
base = text[:pos]
extended = text[pos+1:]
- base = unicode(base, "ascii", errors)
+ base = str(base, "ascii", errors)
extended = extended.upper()
return insertion_sort(base, extended, errors)