summaryrefslogtreecommitdiffstats
path: root/Lib/encodings/idna.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-03-09 23:38:20 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-03-09 23:38:20 (GMT)
commit480f1bb67ba8d2857d87921391df278c5569774c (patch)
tree16370e5215e51cb589a2f07b93a2105c851ce956 /Lib/encodings/idna.py
parente2b4677253a809228b16a2c48b6169e1ae576f55 (diff)
downloadcpython-480f1bb67ba8d2857d87921391df278c5569774c.zip
cpython-480f1bb67ba8d2857d87921391df278c5569774c.tar.gz
cpython-480f1bb67ba8d2857d87921391df278c5569774c.tar.bz2
Update Unicode database to Unicode 4.1.
Diffstat (limited to 'Lib/encodings/idna.py')
-rw-r--r--Lib/encodings/idna.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/encodings/idna.py b/Lib/encodings/idna.py
index f8a31d8..fde710b 100644
--- a/Lib/encodings/idna.py
+++ b/Lib/encodings/idna.py
@@ -1,6 +1,7 @@
# This module implements the RFCs 3490 (IDNA) and 3491 (Nameprep)
-import stringprep, unicodedata, re, codecs
+import stringprep, re, codecs
+from unicodedata import db_3_2_0 as unicodedata
# IDNA section 3.1
dots = re.compile(u"[\u002E\u3002\uFF0E\uFF61]")