summaryrefslogtreecommitdiffstats
path: root/Modules/cjkcodecs
diff options
context:
space:
mode:
authorByeongmin Choi <jincbm@naver.com>2023-03-04 16:01:54 (GMT)
committerGitHub <noreply@github.com>2023-03-04 16:01:54 (GMT)
commit77a3196b7cc17d90a8aae5629aa71ff183b9266a (patch)
treec9e86febb5a0d9694c663b0603c7d97dfb43b89c /Modules/cjkcodecs
parent90801e48fdd2a57c5c5a5e202ff76c3a7dc42a50 (diff)
downloadcpython-77a3196b7cc17d90a8aae5629aa71ff183b9266a.zip
cpython-77a3196b7cc17d90a8aae5629aa71ff183b9266a.tar.gz
cpython-77a3196b7cc17d90a8aae5629aa71ff183b9266a.tar.bz2
gh-101863: Fix wrong comments in EUC-KR codec (gh-102417)
Diffstat (limited to 'Modules/cjkcodecs')
-rw-r--r--Modules/cjkcodecs/_codecs_kr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/cjkcodecs/_codecs_kr.c b/Modules/cjkcodecs/_codecs_kr.c
index 6d6acb5..72641e4 100644
--- a/Modules/cjkcodecs/_codecs_kr.c
+++ b/Modules/cjkcodecs/_codecs_kr.c
@@ -60,7 +60,7 @@ ENCODER(euc_kr)
}
else {
/* Mapping is found in CP949 extension,
- but we encode it in KS X 1001:1998 Annex 3,
+ but we encode it in KS X 1001:1998,
make-up sequence for EUC-KR. */
REQUIRE_OUTBUF(8);
@@ -120,7 +120,7 @@ DECODER(euc_kr)
if (c == EUCKR_JAMO_FIRSTBYTE &&
INBYTE2 == EUCKR_JAMO_FILLER) {
- /* KS X 1001:1998 Annex 3 make-up sequence */
+ /* KS X 1001:1998 make-up sequence */
DBCHAR cho, jung, jong;
REQUIRE_INBUF(8);