mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
- don't set the titlecase flag for uppercase letters (sorry, tim)
This commit is contained in:
parent
f1fcc81a01
commit
375732cd41
2 changed files with 42 additions and 42 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue