Skip to content

Commit ff82ed5

Browse files
committed
changing e.g. to for example
1 parent b0fa2ba commit ff82ed5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/codecs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -989,8 +989,8 @@ defined in Unicode. A simple and straightforward way that can store each Unicode
989989
code point, is to store each code point as four consecutive bytes. There are two
990990
possibilities: store the bytes in big endian or in little endian order. These
991991
two encodings are called ``UTF-32-BE`` and ``UTF-32-LE`` respectively. Their
992-
disadvantage is that if e.g. you use ``UTF-32-BE`` on a little endian machine you
993-
will always have to swap bytes on encoding and decoding.
992+
disadvantage is that if, for example, you use ``UTF-32-BE`` on a little endian
993+
machine you will always have to swap bytes on encoding and decoding.
994994
Python's ``UTF-32`` codec avoids this problem by using the platform's native byte
995995
order when no BOM is present. The plain ``UTF-16`` codec (without a ``-BE`` or
996996
``-LE`` suffix) behaves the same way. Python follows prevailing platform

0 commit comments

Comments
 (0)