From 67346590a7ca972f5b93358d815272b3745f488a Mon Sep 17 00:00:00 2001 From: Nick Coghlan Date: Mon, 6 Feb 2017 15:02:06 +0100 Subject: [PATCH] PEP 538: typo fixes --- pep-0538.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pep-0538.txt b/pep-0538.txt index 5c0f6966c..badd23535 100644 --- a/pep-0538.txt +++ b/pep-0538.txt @@ -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::