aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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