Skip to content

Commit bf0f04f

Browse files
codecs docs: fix grammar mistake (GH-29462)
(cherry picked from commit ea56845) Co-authored-by: 180909 <[email protected]>
1 parent dc9322a commit bf0f04f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/codecs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ there's the so called BOM ("Byte Order Mark"). This is the Unicode character
909909
``U+FEFF``. This character can be prepended to every ``UTF-16`` or ``UTF-32``
910910
byte sequence. The byte swapped version of this character (``0xFFFE``) is an
911911
illegal character that may not appear in a Unicode text. So when the
912-
first character in an ``UTF-16`` or ``UTF-32`` byte sequence
912+
first character in a ``UTF-16`` or ``UTF-32`` byte sequence
913913
appears to be a ``U+FFFE`` the bytes have to be swapped on decoding.
914914
Unfortunately the character ``U+FEFF`` had a second purpose as
915915
a ``ZERO WIDTH NO-BREAK SPACE``: a character that has no width and doesn't allow

0 commit comments

Comments
 (0)