diff options
author | 2007-05-09 17:38:24 +0000 | |
---|---|---|
committer | 2007-05-09 17:38:24 +0000 | |
commit | 3699582e035ec08108b65ecda0bf043e4d56260f (patch) | |
tree | 195d612eb45e3f7ca258805ae7a961fbd28cdac7 /Lib/encodings | |
parent | test_codeccallbacks.py passes again. (diff) | |
download | cpython-3699582e035ec08108b65ecda0bf043e4d56260f.tar.gz cpython-3699582e035ec08108b65ecda0bf043e4d56260f.tar.bz2 cpython-3699582e035ec08108b65ecda0bf043e4d56260f.zip |
Fix trivial bug in idna encoding.
Diffstat (limited to 'Lib/encodings')
-rw-r--r-- | Lib/encodings/idna.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/encodings/idna.py b/Lib/encodings/idna.py index d9322a1f254..b226d22fda5 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): |