]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add PYTHONUTF8 to commandline usage. (GH-17587) (GH-17599)
authorInada Naoki <songofacandy@gmail.com>
Sat, 14 Dec 2019 10:53:43 +0000 (19:53 +0900)
committerVictor Stinner <vstinner@python.org>
Sat, 14 Dec 2019 10:53:43 +0000 (11:53 +0100)
Co-Authored-By: Victor Stinner <vstinner@python.org>
(cherry picked from commit 95826c773a9004fc5b3c89de55f800504685ab21)

Modules/main.c

index acc59c6c40a9975ae8041695369486e9d5a748e0..4d13184f2d1848adc11f7989d8b044acf013184b 100644 (file)
@@ -131,6 +131,7 @@ static const char usage_5[] =
 "PYTHONHOME   : alternate <prefix> directory (or <prefix>%lc<exec_prefix>).\n"
 "               The default module search path uses %s.\n"
 "PYTHONCASEOK : ignore case in 'import' statements (Windows).\n"
+"PYTHONUTF8: if set to 1, enable the UTF-8 mode.\n"
 "PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.\n"
 "PYTHONFAULTHANDLER: dump the Python traceback on fatal errors.\n";
 static const char usage_6[] =