PEP 538: typo fixes

This commit is contained in:
Nick Coghlan 2017-02-06 15:02:06 +01:00
parent d1d344880b
commit 67346590a7
1 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ relying on that setting change.
As a result of that change, the ``LC_CTYPE=en_US.UTF-8`` legacy fallback was
removed from the list of UTF-8 locales tried as a coercion target, with CPython
instead rely solely on the C locale text encoding bypass in such cases.
instead relying solely on the C locale text encoding bypass in such cases.
Motivation
@ -563,7 +563,7 @@ for ``en_AU.UTF-8``), and one encoded with GB-18030 (the default encoding for
``zh_CN.gb18030``)::
$ python3 -c 'open("utf8.txt", "wb").write("ℙƴ☂ℌøἤ\n".encode("utf-8"))'
$ python3 -c 'open("gb18030.txt", "wb"); f.write("ℙƴ☂ℌøἤ\n".encode("gb18030"))'
$ python3 -c 'open("gb18030.txt", "wb").write("ℙƴ☂ℌøἤ\n".encode("gb18030"))'
On disk, we can see that these are two very different files::