summaryrefslogtreecommitdiffstats
path: root/Lib/stringprep.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-03-10 11:20:04 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-03-10 11:20:04 (GMT)
commit5bd7c0229826bc8b71879a3600a34d21045bc031 (patch)
tree46f723cc0687cd9e8c6dff7ba11f98eec616dece /Lib/stringprep.py
parentf669436189dd44a841caa9ab1ad97a3f7662bf58 (diff)
downloadcpython-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/stringprep.py')
-rw-r--r--Lib/stringprep.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/stringprep.py b/Lib/stringprep.py
index 225aedb..1d49dd1 100644
--- a/Lib/stringprep.py
+++ b/Lib/stringprep.py
@@ -5,7 +5,7 @@ There are two kinds of tables: sets, for which a member test is provided,
and mappings, for which a mapping function is provided.
"""
-from unicodedata import db_3_2_0 as unicodedata
+from unicodedata import ucd_3_2_0 as unicodedata
assert unicodedata.unidata_version == '3.2.0'