[Python-checkins] gh-101863: Fix wrong comments in EUC-KR codec (gh-102417)

corona10 webhook-mailer at python.org
Sat Mar 4 11:02:10 EST 2023


https://github.com/python/cpython/commit/77a3196b7cc17d90a8aae5629aa71ff183b9266a
commit: 77a3196b7cc17d90a8aae5629aa71ff183b9266a
branch: main
author: Byeongmin Choi <jincbm at naver.com>
committer: corona10 <donghee.na92 at gmail.com>
date: 2023-03-05T01:01:54+09:00
summary:

gh-101863: Fix wrong comments in EUC-KR codec (gh-102417)

files:
M Misc/ACKS
M Modules/cjkcodecs/_codecs_kr.c

diff --git a/Misc/ACKS b/Misc/ACKS
index 2da3d0ab29b8..c591cd3bfe4b 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -322,6 +322,7 @@ Adal Chiriliuc
 Matt Chisholm
 Lita Cho
 Kit Yan Choi
+Byeongmin Choi
 Sayan Chowdhury
 Yuan-Chao Chou
 Anders Chrigström
diff --git a/Modules/cjkcodecs/_codecs_kr.c b/Modules/cjkcodecs/_codecs_kr.c
index 6d6acb5c4be4..72641e495af0 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);



More information about the Python-checkins mailing list