[Python-checkins] bpo-45277: Fix typo in codecs doc (GH-28555)

miss-islington webhook-mailer at python.org
Fri Sep 24 22:22:59 EDT 2021

commit: 2a7d985bb3a1d85d63f135956750b330408702e6
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-09-24T19:22:54-07:00

bpo-45277: Fix typo in codecs doc (GH-28555)

encoding => encode
(cherry picked from commit 4c0fc65cd8a6d4c18330505576ccd4b46abeec1c)

Co-authored-by: Terry Jan Reedy <tjreedy at udel.edu>

M Doc/library/codecs.rst

diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index 3338545e9267d..2f7497c0c4934 100644
--- a/Doc/library/codecs.rst
+++ b/Doc/library/codecs.rst
@@ -920,7 +920,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

More information about the Python-checkins mailing list