Skip to content

Commit

Permalink
[3.11] gh-90300: Fix undocumented envvars in the Python CLI help (GH-…
Browse files Browse the repository at this point in the history
…116765) (GH-116797) (GH-116803)

(cherry picked from commit fc4d5fd)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit 19ac28b)
  • Loading branch information
miss-islington committed Mar 14, 2024
1 parent 0ecdaf0 commit d83b4c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Python/initconfig.c
Expand Up @@ -174,9 +174,11 @@ static const char usage_envvars[] =
" interpreter displays tracebacks. (-X no_debug_ranges)\n"
"PYTHONNOUSERSITE: disable user site directory (-s)\n"
"PYTHONOPTIMIZE : enable level 1 optimizations (-O)\n"
"PYTHONPROFILEIMPORTTIME: show how long each import takes (-X importtime)\n"
"PYTHONPYCACHEPREFIX: root directory for bytecode cache (pyc) files\n"
" (-X pycache_prefix)\n"
"PYTHONSAFEPATH : don't prepend a potentially unsafe path to sys.path.\n"
"PYTHONTRACEMALLOC: trace Python memory allocations (-X tracemalloc)\n"
"PYTHONUNBUFFERED: disable stdout/stderr buffering (-u)\n"
"PYTHONUTF8 : if set to 1, enable the UTF-8 mode (-X utf8)\n"
"PYTHONVERBOSE : trace import statements (-v)\n"
Expand Down

0 comments on commit d83b4c5

Please sign in to comment.