diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-09-24 19:16:48 -0700 |
---|---|---|
committer | Pablo Galindo <pablogsal@gmail.com> | 2021-09-29 12:29:42 +0100 |
commit | 0b568530ecb6ccc696771acf8018ec6fff1a0a5f (patch) | |
tree | a759df3e44e6314e66b0383c238cc55e9233e34b | |
parent | [doc] fix minor typo for argparse (GH-28451) (diff) | |
download | cpython-0b568530ecb6ccc696771acf8018ec6fff1a0a5f.tar.gz cpython-0b568530ecb6ccc696771acf8018ec6fff1a0a5f.tar.bz2 cpython-0b568530ecb6ccc696771acf8018ec6fff1a0a5f.zip |
bpo-45277: Fix typo in codecs doc (GH-28555)
encoding => encode
(cherry picked from commit 4c0fc65cd8a6d4c18330505576ccd4b46abeec1c)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
-rw-r--r-- | Doc/library/codecs.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index 0dcd88f9fd5..ef71832bcef 100644 --- a/Doc/library/codecs.rst +++ b/Doc/library/codecs.rst @@ -923,7 +923,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 |