summaryrefslogtreecommitdiffstats
path: root/Lib/encodings/idna.py
diff options
context:
space:
mode:
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]")