diff options
author | Benjamin Peterson <benjamin@python.org> | 2017-06-23 05:31:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-23 05:31:08 (GMT) |
commit | 279a96206f3118a482d10826a1e32b272db4505d (patch) | |
tree | dc542b2e2764d146093fdcf1fb5590c1e190d553 /Modules/unicodedata.c | |
parent | b066edfb1b268e90ea11f45dd1827f46d7ceec88 (diff) | |
download | cpython-279a96206f3118a482d10826a1e32b272db4505d.zip cpython-279a96206f3118a482d10826a1e32b272db4505d.tar.gz cpython-279a96206f3118a482d10826a1e32b272db4505d.tar.bz2 |
bpo-30736: upgrade to Unicode 10.0 (#2344)
Straightforward. While we're at it, though, strip trailing whitespace from generated tables.
Diffstat (limited to 'Modules/unicodedata.c')
-rw-r--r-- | Modules/unicodedata.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c index fbe811e..3fd665b 100644 --- a/Modules/unicodedata.c +++ b/Modules/unicodedata.c @@ -921,11 +921,12 @@ is_unified_ideograph(Py_UCS4 code) { return (0x3400 <= code && code <= 0x4DB5) || /* CJK Ideograph Extension A */ - (0x4E00 <= code && code <= 0x9FD5) || /* CJK Ideograph */ + (0x4E00 <= code && code <= 0x9FEA) || /* CJK Ideograph */ (0x20000 <= code && code <= 0x2A6D6) || /* CJK Ideograph Extension B */ (0x2A700 <= code && code <= 0x2B734) || /* CJK Ideograph Extension C */ (0x2B740 <= code && code <= 0x2B81D) || /* CJK Ideograph Extension D */ - (0x2B820 <= code && code <= 0x2CEA1); /* CJK Ideograph Extension E */ + (0x2B820 <= code && code <= 0x2CEA1) || /* CJK Ideograph Extension E */ + (0x2CEB0 <= code && code <= 0x2EBEF); /* CJK Ideograph Extension F */ } /* macros used to determine if the given code point is in the PUA range that |