diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-03-10 11:20:04 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-03-10 11:20:04 (GMT) |
commit | 5bd7c0229826bc8b71879a3600a34d21045bc031 (patch) | |
tree | 46f723cc0687cd9e8c6dff7ba11f98eec616dece /Lib/encodings | |
parent | f669436189dd44a841caa9ab1ad97a3f7662bf58 (diff) | |
download | cpython-5bd7c0229826bc8b71879a3600a34d21045bc031.zip cpython-5bd7c0229826bc8b71879a3600a34d21045bc031.tar.gz cpython-5bd7c0229826bc8b71879a3600a34d21045bc031.tar.bz2 |
Avoid forward-declaring the methods array.
Rename unicodedata.db* to unicodedata.ucd*
Diffstat (limited to 'Lib/encodings')
-rw-r--r-- | Lib/encodings/idna.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/encodings/idna.py b/Lib/encodings/idna.py index fde710b..3d3ed23 100644 --- a/Lib/encodings/idna.py +++ b/Lib/encodings/idna.py @@ -1,7 +1,7 @@ # This module implements the RFCs 3490 (IDNA) and 3491 (Nameprep) import stringprep, re, codecs -from unicodedata import db_3_2_0 as unicodedata +from unicodedata import ucd_3_2_0 as unicodedata # IDNA section 3.1 dots = re.compile(u"[\u002E\u3002\uFF0E\uFF61]") |