diff options
author | Christian Clauss <cclauss@me.com> | 2021-10-06 22:55:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-06 22:55:27 (GMT) |
commit | db693df3e112c5a61f2cbef63eedce3a36520ded (patch) | |
tree | 9d9fde2302ea951001e2d7eed67e2648f1457208 /Python/fileutils.c | |
parent | 6c942a86a4fb4c8b731cb1bd2933dba554eb79cd (diff) | |
download | cpython-db693df3e112c5a61f2cbef63eedce3a36520ded.zip cpython-db693df3e112c5a61f2cbef63eedce3a36520ded.tar.gz cpython-db693df3e112c5a61f2cbef63eedce3a36520ded.tar.bz2 |
Fix typos in the Python directory (GH-28767)
Diffstat (limited to 'Python/fileutils.c')
-rw-r--r-- | Python/fileutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/fileutils.c b/Python/fileutils.c index ecfdc57..a364159 100644 --- a/Python/fileutils.c +++ b/Python/fileutils.c @@ -221,7 +221,7 @@ check_force_ascii(void) ch = (unsigned char)0xA7; res = _Py_mbstowcs(&wch, (char*)&ch, 1); if (res != DECODE_ERROR && wch == L'\xA7') { - /* On HP-UX withe C locale or the POSIX locale, + /* On HP-UX with C locale or the POSIX locale, nl_langinfo(CODESET) announces "roman8", whereas mbstowcs() uses Latin1 encoding in practice. Force ASCII in this case. |