summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2021-09-25 01:56:09 (GMT)
committerGitHub <noreply@github.com>2021-09-25 01:56:09 (GMT)
commit4c0fc65cd8a6d4c18330505576ccd4b46abeec1c (patch)
tree002b9021e36155298ca17c695514fd5369cd8f99
parent6bc89116cb121c176453b9745e3daa2cc5df43ab (diff)
downloadcpython-4c0fc65cd8a6d4c18330505576ccd4b46abeec1c.zip
cpython-4c0fc65cd8a6d4c18330505576ccd4b46abeec1c.tar.gz
cpython-4c0fc65cd8a6d4c18330505576ccd4b46abeec1c.tar.bz2
bpo-45277: Fix typo in codecs doc (GH-28555)
encoding => encode
-rw-r--r--Doc/library/codecs.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index 9ea689a..949288b 100644
--- a/Doc/library/codecs.rst
+++ b/Doc/library/codecs.rst
@@ -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