summaryrefslogtreecommitdiffstats
path: root/Tools/unicode
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-10-18 16:11:54 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-10-18 16:11:54 (GMT)
commit9def6a3a77569214b49d1b54ef138b0e4985a6bd (patch)
treec08adc7ced466f675d51f8ffb59c8ddba3165028 /Tools/unicode
parentecbb0eaa43938e75afe4e1a4c122c3dc64290fdd (diff)
downloadcpython-9def6a3a77569214b49d1b54ef138b0e4985a6bd.zip
cpython-9def6a3a77569214b49d1b54ef138b0e4985a6bd.tar.gz
cpython-9def6a3a77569214b49d1b54ef138b0e4985a6bd.tar.bz2
Update to Unicode 3.2 database.
Diffstat (limited to 'Tools/unicode')
-rw-r--r--Tools/unicode/makeunicodedata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/unicode/makeunicodedata.py b/Tools/unicode/makeunicodedata.py
index a18e548..5e949b3 100644
--- a/Tools/unicode/makeunicodedata.py
+++ b/Tools/unicode/makeunicodedata.py
@@ -448,7 +448,7 @@ class UnicodeData:
def __init__(self, filename, expand=1):
file = open(filename)
- table = [None] * 65536
+ table = [None] * 0x110000
while 1:
s = file.readline()
if not s:
@@ -476,7 +476,7 @@ class UnicodeData:
# public attributes
self.filename = filename
self.table = table
- self.chars = range(65536) # unicode
+ self.chars = range(0x110000) # unicode 3.2
def uselatin1(self):
# restrict character range to ISO Latin 1