Skip to content

Commit f39e8cb

Browse files
Apply suggestions from code review
Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent 25c8b75 commit f39e8cb

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/pyexpat.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The :mod:`!xml.parsers.expat` module contains two functions:
6464
.. function:: ParserCreate(encoding=None, namespace_separator=None)
6565

6666
Creates and returns a new :class:`xmlparser` object. *encoding*, if specified,
67-
must be a string naming the encoding used by the XML data.
67+
must be a string naming the encoding used by the XML data.
6868
Expat natively understands and processes UTF-8, UTF-16, UTF-16BE, UTF-16LE,
6969
ISO-8859-1, and US-ASCII.
7070
For other encodings (including aliases like Latin1 and ASCII) it falls back

Doc/whatsnew/3.16.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Improved modules
8989
xml
9090
---
9191

92-
* Add support of multiple multi-byte encodings in the :mod:`XML parser
92+
* Add support for multiple multi-byte encodings in the :mod:`XML parser
9393
<xml.parsers.expat>`: "cp932", "cp949", "cp950", "Big5","EUC-JP",
9494
"GB2312", "GBK", "johab", and "Shift_JIS".
9595
Add partial support (only BMP characters) for multi-byte encodings

Misc/NEWS.d/next/Library/2026-05-14-17-01-19.gh-issue-62259.ytlFD5.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Add support of multiple multi-byte encodings in the :mod:`XML parser
1+
Add support for multiple multi-byte encodings in the :mod:`XML parser
22
<xml.parsers.expat>`: "cp932", "cp949", "cp950", "Big5","EUC-JP", "GB2312",
33
"GBK", "johab", and "Shift_JIS". Add partial support (only BMP characters)
44
for multi-byte encodings "Big5-HKSCS", "EUC_JIS-2004", "EUC_JISX0213",

0 commit comments

Comments
 (0)