summaryrefslogtreecommitdiffstats
path: root/Modules/unicodedata.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-06-27 20:45:56 (GMT)
committerBenjamin Peterson <benjamin@python.org>2015-06-27 20:45:56 (GMT)
commit4801383c2953d3a45beafa1e945d60412460b9c3 (patch)
tree2f2233c9eb026801ebc4cbb9dc4a23047afaee92 /Modules/unicodedata.c
parent7b78d4364da086baf77202e6e9f6839128a366ff (diff)
downloadcpython-4801383c2953d3a45beafa1e945d60412460b9c3.zip
cpython-4801383c2953d3a45beafa1e945d60412460b9c3.tar.gz
cpython-4801383c2953d3a45beafa1e945d60412460b9c3.tar.bz2
upgrade to Unicode 8.0.0
Diffstat (limited to 'Modules/unicodedata.c')
-rw-r--r--Modules/unicodedata.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c
index a6e2dbc..fe4e908 100644
--- a/Modules/unicodedata.c
+++ b/Modules/unicodedata.c
@@ -921,10 +921,11 @@ is_unified_ideograph(Py_UCS4 code)
{
return
(0x3400 <= code && code <= 0x4DB5) || /* CJK Ideograph Extension A */
- (0x4E00 <= code && code <= 0x9FCC) || /* CJK Ideograph */
+ (0x4E00 <= code && code <= 0x9FD5) || /* 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 */
+ (0x2B740 <= code && code <= 0x2B81D) || /* CJK Ideograph Extension D */
+ (0x2B820 <= code && code <= 0x2CEA1); /* CJK Ideograph Extension E */
}
/* macros used to determine if the given code point is in the PUA range that