]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45277: Fix typo in codecs doc (GH-28555)
authorTerry Jan Reedy <tjreedy@udel.edu>
Sat, 25 Sep 2021 01:56:09 +0000 (21:56 -0400)
committerGitHub <noreply@github.com>
Sat, 25 Sep 2021 01:56:09 +0000 (21:56 -0400)
encoding => encode

Doc/library/codecs.rst

index 9ea689acd8bbb31276631e124f4ce20bb0116c46..949288b7c6d9b77771c0c3e1018d4cca9604d853 100644 (file)
@@ -926,7 +926,7 @@ it's a device to determine the storage layout of the encoded bytes, and vanishes
 once the byte sequence has been decoded into a string; as a ``ZERO WIDTH
 NO-BREAK SPACE`` it's a normal character that will be decoded like any other.
 
-There's another encoding that is able to encoding the full range of Unicode
+There's another encoding that is able to encode the full range of Unicode
 characters: UTF-8. UTF-8 is an 8-bit encoding, which means there are no issues
 with byte order in UTF-8. Each byte in a UTF-8 byte sequence consists of two
 parts: marker bits (the most significant bits) and payload bits. The marker bits