diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-01-18 09:28:37 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-01-18 09:28:37 (GMT) |
commit | d3faf43f9ba7da0ae504c9186b10d0fa3a8eb300 (patch) | |
tree | 1e6ffa87d3c0087fc5bb3509bc9ef455ce98c7ff /Modules/cjkcodecs | |
parent | b2653b344e01710a99bc782a0b9e4b4d0f8eed5f (diff) | |
download | cpython-d3faf43f9ba7da0ae504c9186b10d0fa3a8eb300.zip cpython-d3faf43f9ba7da0ae504c9186b10d0fa3a8eb300.tar.gz cpython-d3faf43f9ba7da0ae504c9186b10d0fa3a8eb300.tar.bz2 |
Issue #23181: More "codepoint" -> "code point".
Diffstat (limited to 'Modules/cjkcodecs')
-rw-r--r-- | Modules/cjkcodecs/_codecs_cn.c | 2 | ||||
-rw-r--r-- | Modules/cjkcodecs/_codecs_hk.c | 2 | ||||
-rw-r--r-- | Modules/cjkcodecs/_codecs_kr.c | 2 | ||||
-rw-r--r-- | Modules/cjkcodecs/cjkcodecs.h | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/Modules/cjkcodecs/_codecs_cn.c b/Modules/cjkcodecs/_codecs_cn.c index 013c3fb..1a070f2 100644 --- a/Modules/cjkcodecs/_codecs_cn.c +++ b/Modules/cjkcodecs/_codecs_cn.c @@ -15,7 +15,7 @@ #undef hz #endif -/* GBK and GB2312 map differently in few codepoints that are listed below: +/* GBK and GB2312 map differently in few code points that are listed below: * * gb2312 gbk * A1A4 U+30FB KATAKANA MIDDLE DOT U+00B7 MIDDLE DOT diff --git a/Modules/cjkcodecs/_codecs_hk.c b/Modules/cjkcodecs/_codecs_hk.c index b7a7ebd..4f21569 100644 --- a/Modules/cjkcodecs/_codecs_hk.c +++ b/Modules/cjkcodecs/_codecs_hk.c @@ -171,7 +171,7 @@ DECODER(big5hkscs) default: return 1; } - NEXT_IN(2); /* all decoded codepoints are pairs, above. */ + NEXT_IN(2); /* all decoded code points are pairs, above. */ } return 0; diff --git a/Modules/cjkcodecs/_codecs_kr.c b/Modules/cjkcodecs/_codecs_kr.c index 1ad41a7..6d6acb5 100644 --- a/Modules/cjkcodecs/_codecs_kr.c +++ b/Modules/cjkcodecs/_codecs_kr.c @@ -69,7 +69,7 @@ ENCODER(euc_kr) OUTBYTE1(EUCKR_JAMO_FIRSTBYTE); OUTBYTE2(EUCKR_JAMO_FILLER); - /* All codepoints in CP949 extension are in unicode + /* All code points in CP949 extension are in unicode * Hangul Syllable area. */ assert(0xac00 <= c && c <= 0xd7a3); c -= 0xac00; diff --git a/Modules/cjkcodecs/cjkcodecs.h b/Modules/cjkcodecs/cjkcodecs.h index 25bab41..d15ccfb 100644 --- a/Modules/cjkcodecs/cjkcodecs.h +++ b/Modules/cjkcodecs/cjkcodecs.h @@ -12,10 +12,10 @@ #include "multibytecodec.h" -/* a unicode "undefined" codepoint */ +/* a unicode "undefined" code point */ #define UNIINV 0xFFFE -/* internal-use DBCS codepoints which aren't used by any charsets */ +/* internal-use DBCS code points which aren't used by any charsets */ #define NOCHAR 0xFFFF #define MULTIC 0xFFFE #define DBCINV 0xFFFD |