aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2020-03-10 20:41:34 -0700
committerGitHub <noreply@github.com>2020-03-10 20:41:34 -0700
commit051b9d08d1e6a8b1022a2bd9166be51c0b152698 (patch)
tree3f7eb694da64c60b304d073bac8cf703cbbc8f5f /Modules/unicodedata.c
parentcloses bpo-39922: Remove unused args from four functions. (GH-18893) (diff)
downloadcpython-051b9d08d1e6a8b1022a2bd9166be51c0b152698.tar.gz
cpython-051b9d08d1e6a8b1022a2bd9166be51c0b152698.tar.bz2
cpython-051b9d08d1e6a8b1022a2bd9166be51c0b152698.zip
closes bpo-39926: Update Unicode to 13.0.0. (GH-18910)
Diffstat (limited to 'Modules/unicodedata.c')
-rw-r--r--Modules/unicodedata.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c
index ce97bdf89f0..d06ba6c6ff3 100644
--- a/Modules/unicodedata.c
+++ b/Modules/unicodedata.c
@@ -1031,13 +1031,14 @@ static int
is_unified_ideograph(Py_UCS4 code)
{
return
- (0x3400 <= code && code <= 0x4DB5) || /* CJK Ideograph Extension A */
- (0x4E00 <= code && code <= 0x9FEF) || /* CJK Ideograph */
- (0x20000 <= code && code <= 0x2A6D6) || /* CJK Ideograph Extension B */
+ (0x3400 <= code && code <= 0x4DBF) || /* CJK Ideograph Extension A */
+ (0x4E00 <= code && code <= 0x9FFC) || /* CJK Ideograph */
+ (0x20000 <= code && code <= 0x2A6DD) || /* 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 */
- (0x2CEB0 <= code && code <= 0x2EBEF); /* CJK Ideograph Extension F */
+ (0x2CEB0 <= code && code <= 0x2EBE0) || /* CJK Ideograph Extension F */
+ (0x30000 <= code && code <= 0x3134A); /* CJK Ideograph Extension G */
}
/* macros used to determine if the given code point is in the PUA range that