]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
codecs docs: fix grammar mistake (GH-29462)
author180909 <wjh180909@gmail.com>
Sat, 2 Apr 2022 21:12:32 +0000 (05:12 +0800)
committerGitHub <noreply@github.com>
Sat, 2 Apr 2022 21:12:32 +0000 (14:12 -0700)
Doc/library/codecs.rst

index 76710974dd42725d67b0aee2a4867220f973171b..e6f5954d33b59ecd3b4b4e029b90f3dd01c359e4 100644 (file)
@@ -915,7 +915,7 @@ there's the so called BOM ("Byte Order Mark"). This is the Unicode character
 ``U+FEFF``. This character can be prepended to every ``UTF-16`` or ``UTF-32``
 byte sequence. The byte swapped version of this character (``0xFFFE``) is an
 illegal character that may not appear in a Unicode text. So when the
-first character in an ``UTF-16`` or ``UTF-32`` byte sequence
+first character in a ``UTF-16`` or ``UTF-32`` byte sequence
 appears to be a ``U+FFFE`` the bytes have to be swapped on decoding.
 Unfortunately the character ``U+FEFF`` had a second purpose as
 a ``ZERO WIDTH NO-BREAK SPACE``: a character that has no width and doesn't allow