summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-05-09 17:38:24 (GMT)
committerGuido van Rossum <guido@python.org>2007-05-09 17:38:24 (GMT)
commit3699582e035ec08108b65ecda0bf043e4d56260f (patch)
tree195d612eb45e3f7ca258805ae7a961fbd28cdac7 /Lib
parent00048f0c220b1aee4a5382c9672a1d819bec198a (diff)
downloadcpython-3699582e035ec08108b65ecda0bf043e4d56260f.zip
cpython-3699582e035ec08108b65ecda0bf043e4d56260f.tar.gz
cpython-3699582e035ec08108b65ecda0bf043e4d56260f.tar.bz2
Fix trivial bug in idna encoding.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/encodings/idna.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/encodings/idna.py b/Lib/encodings/idna.py
index d9322a1..b226d22 100644
--- a/Lib/encodings/idna.py
+++ b/Lib/encodings/idna.py
@@ -8,7 +8,6 @@ dots = re.compile("[\u002E\u3002\uFF0E\uFF61]")
# IDNA section 5
ace_prefix = "xn--"
-uace_prefix = str(ace_prefix, "ascii")
# This assumes query strings, so AllowUnassigned is true
def nameprep(label):