summaryrefslogtreecommitdiffstats
path: root/Python/initconfig.c
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-10-06 22:55:27 (GMT)
committerGitHub <noreply@github.com>2021-10-06 22:55:27 (GMT)
commitdb693df3e112c5a61f2cbef63eedce3a36520ded (patch)
tree9d9fde2302ea951001e2d7eed67e2648f1457208 /Python/initconfig.c
parent6c942a86a4fb4c8b731cb1bd2933dba554eb79cd (diff)
downloadcpython-db693df3e112c5a61f2cbef63eedce3a36520ded.zip
cpython-db693df3e112c5a61f2cbef63eedce3a36520ded.tar.gz
cpython-db693df3e112c5a61f2cbef63eedce3a36520ded.tar.bz2
Fix typos in the Python directory (GH-28767)
Diffstat (limited to 'Python/initconfig.c')
-rw-r--r--Python/initconfig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/initconfig.c b/Python/initconfig.c
index 9fa202a..2e3cde8 100644
--- a/Python/initconfig.c
+++ b/Python/initconfig.c
@@ -98,7 +98,7 @@ static const char usage_3[] = "\
-X no_debug_ranges: disable the inclusion of the tables mapping extra location \n\
information (end line, start column offset and end column offset) to every \n\
instruction in code objects. This is useful when smaller code objects and pyc \n\
- files are desired as well as supressing the extra visual location indicators \n\
+ files are desired as well as suppressing the extra visual location indicators \n\
when the interpreter displays tracebacks.\n\
-X frozen_modules=[on|off]: whether or not frozen modules should be used.\n\
The default is \"on\" (or \"off\" if you are running a local build).\n\
@@ -142,7 +142,7 @@ static const char usage_6[] =
"PYTHONNODEBUGRANGES: If this variable is set, it disables the inclusion of the \n"
" tables mapping extra location information (end line, start column offset \n"
" and end column offset) to every instruction in code objects. This is useful \n"
-" when smaller cothe de objects and pyc files are desired as well as supressing the \n"
+" when smaller cothe de objects and pyc files are desired as well as suppressing the \n"
" extra visual location indicators when the interpreter displays tracebacks.\n";
#if defined(MS_WINDOWS)
@@ -2549,7 +2549,7 @@ warnoptions_append(PyConfig *config, PyWideStringList *options,
{
/* config_init_warnoptions() add existing config warnoptions at the end:
ensure that the new option is not already present in this list to
- prevent change the options order whne config_init_warnoptions() is
+ prevent change the options order when config_init_warnoptions() is
called twice. */
if (_PyWideStringList_Find(&config->warnoptions, option)) {
/* Already present: do nothing */