summaryrefslogtreecommitdiffstats
path: root/Tools/unicode
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2000-09-25 23:03:34 (GMT)
committerFredrik Lundh <fredrik@pythonware.com>2000-09-25 23:03:34 (GMT)
commit375732cd41326fd81c5bc15d7c0e0945992b1939 (patch)
tree81c5148dede23a00c4beeb78bcec2a01d3b057b6 /Tools/unicode
parentf1fcc81a01c344ecad52156adb4a327bc2a005ea (diff)
downloadcpython-375732cd41326fd81c5bc15d7c0e0945992b1939.zip
cpython-375732cd41326fd81c5bc15d7c0e0945992b1939.tar.gz
cpython-375732cd41326fd81c5bc15d7c0e0945992b1939.tar.bz2
- don't set the titlecase flag for uppercase letters (sorry, tim)
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 c3f44a0..faca17f 100644
--- a/Tools/unicode/makeunicodedata.py
+++ b/Tools/unicode/makeunicodedata.py
@@ -8,7 +8,7 @@
# 2000-09-24 fl created (based on bits and pieces from unidb)
# 2000-09-25 fl merged tim's splitbin fixes, separate decomposition table
# 2000-09-25 fl added character type table
-# 2000-09-26 fl added LINEBREAK flags
+# 2000-09-26 fl added LINEBREAK, DECIMAL, and DIGIT flags/fields
#
# written by Fredrik Lundh (fredrik@pythonware.com), September 2000
#
@@ -166,7 +166,7 @@ def maketables():
flags |= LINEBREAK_MASK
if category == "Zs" or bidirectional in ("WS", "B", "S"):
flags |= SPACE_MASK
- if category in ["Lt", "Lu"]:
+ if category == "Lt":
flags |= TITLE_MASK
if category == "Lu":
flags |= UPPER_MASK