Skip to content

Commit

Permalink
pythongh-101863: Fix wrong comments in EUC-KR codec (pythongh-102417)
Browse files Browse the repository at this point in the history
  • Loading branch information
b8choi authored and hugovk committed Mar 6, 2023
1 parent 2fffbe6 commit 2d6e5b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Misc/ACKS
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ Adal Chiriliuc
Matt Chisholm
Lita Cho
Kit Yan Choi
Byeongmin Choi
Sayan Chowdhury
Yuan-Chao Chou
Anders Chrigström
Expand Down
4 changes: 2 additions & 2 deletions Modules/cjkcodecs/_codecs_kr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 2d6e5b8

Please sign in to comment.