Skip to content

Commit 29b084b

Browse files
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent a5116b5 commit 29b084b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Python/initconfig.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -189,21 +189,21 @@ static const char usage_xoptions[] = "\
189189
The following implementation-specific options are available:\n\
190190
-X cpu_count=N: override the return value of os.cpu_count();\n\
191191
-X cpu_count=default cancels overriding; also PYTHON_CPU_COUNT\n\
192-
-X dev : enable Python development mode; also PYTHONDEVMODE\n\
192+
-X dev : enable Python Development Mode; also PYTHONDEVMODE\n\
193193
-X faulthandler: dump the Python traceback on fatal errors;\n\
194194
also PYTHONFAULTHANDLER\n\
195-
-X frozen_modules=[on|off]: whether or not frozen modules should be used.\n\
195+
-X frozen_modules=[on|off]: whether to use frozen modules\n\
196196
The default is \"on\" for installed Python and \"off\" for a local build.\n\
197197
Also PYTHON_FROZEN_MODULES.\n\
198198
-X importtime: show how long each import takes; also PYTHONPROFILEIMPORTTIME\n\
199-
-X int_max_str_digits=number: limit the size of int<->str conversions;\n\
199+
-X int_max_str_digits=N: limit the size of int<->str conversions;\n\
200200
0 disables the limit; also PYTHONINTMAXSTRDIGITS\n\
201201
-X no_debug_ranges: don't include extra location information in code objects;\n\
202202
also PYTHONNODEBUGRANGES\n\
203203
-X perf: support the Linux \"perf\" profiler; also PYTHONPERFSUPPORT=1\n\
204204
"
205205
#ifdef Py_DEBUG
206-
"-X presite=MOD: import this module before site is imported; also PYTHON_PRESITE\n"
206+
"-X presite=MOD: import this module before site; also PYTHON_PRESITE\n"
207207
#endif
208208
"\
209209
-X pycache_prefix=PATH: write .pyc files to a parallel tree instead of to the\n\
@@ -217,7 +217,7 @@ The following implementation-specific options are available:\n\
217217
memory blocks when the program finishes or after each statement in\n\
218218
the interactive interpreter; only works on debug builds\n\
219219
-X tracemalloc[=N]: trace Python memory allocations; N sets a traceback limit\n\
220-
of N frames (1 by default); also PYTHONTRACEMALLOC=N\n\
220+
of N frames (default: 1); also PYTHONTRACEMALLOC=N\n\
221221
-X utf8[=0|1]: enable (1) or disable (0) UTF-8 mode; also PYTHONUTF8\n\
222222
-X warn_default_encoding: enable opt-in EncodingWarning for 'encoding=None';\n\
223223
also PYTHONWARNDEFAULTENCODING\
@@ -256,12 +256,12 @@ static const char usage_envvars[] =
256256
"These variables have equivalent command-line options (see --help for details):\n"
257257
"PYTHON_CPU_COUNT: override the return value of os.cpu_count() (-X cpu_count)\n"
258258
"PYTHONDEBUG : enable parser debug mode (-d)\n"
259-
"PYTHONDEVMODE : enable the Python development mode (-X dev)\n"
259+
"PYTHONDEVMODE : enable Python Development Mode (-X dev)\n"
260260
"PYTHONDONTWRITEBYTECODE: don't write .pyc files (-B)\n"
261261
"PYTHONFAULTHANDLER: dump the Python traceback on fatal errors (-X faulthandler)\n"
262-
"PYTHON_FROZEN_MODULES: whether or not frozen modules should be used.\n"
262+
"PYTHON_FROZEN_MODULES: whether to use frozen modules\n"
263263
" The default is \"on\" for installed Python and \"off\" for\n"
264-
" a local build. (-X frozen_modules)\n"
264+
" a local build (-X frozen_modules)\n"
265265
#ifdef Py_GIL_DISABLED
266266
"PYTHON_GIL : when set to 0, disables the GIL (-X gil)\n"
267267
#endif
@@ -274,7 +274,7 @@ static const char usage_envvars[] =
274274
"PYTHONOPTIMIZE : enable level 1 optimizations (-O)\n"
275275
"PYTHONPERFSUPPORT: support the Linux \"perf\" profiler (-X perf)\n"
276276
#ifdef Py_DEBUG
277-
"PYTHON_PRESITE: import this module before site is imported (-X presite)\n"
277+
"PYTHON_PRESITE: import this module before site (-X presite)\n"
278278
#endif
279279
"PYTHONPROFILEIMPORTTIME: show how long each import takes (-X importtime)\n"
280280
"PYTHONPYCACHEPREFIX: root directory for bytecode cache (pyc) files\n"

0 commit comments

Comments
 (0)