From 3fe23fdeb1480e0ff4b599097073deec2d41a41b Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sun, 7 Jan 2024 18:35:41 +0200 Subject: [PATCH 1/2] Move PYTHON_HISTORY into the correct usage section --- Python/initconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/initconfig.c b/Python/initconfig.c index aad3b3d53ca787..c6a27aac72346e 100644 --- a/Python/initconfig.c +++ b/Python/initconfig.c @@ -295,8 +295,8 @@ static const char usage_envvars[] = " running a local build).\n" "PYTHON_COLORS : If this variable is set to 1, the interpreter will" " colorize various kinds of output. Setting it to 0 deactivates this behavior.\n" -"These variables have equivalent command-line parameters (see --help for details):\n" "PYTHON_HISTORY: the location of a .python_history file.\n" +"These variables have equivalent command-line parameters (see --help for details):\n" "PYTHONDEBUG : enable parser debug mode (-d)\n" "PYTHONDONTWRITEBYTECODE : don't write .pyc files (-B)\n" "PYTHONINSPECT : inspect interactively after running script (-i)\n" From deef3ca3e04fede6a5b69d1c6d52e3f97dbe7cc3 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 8 Jan 2024 00:12:58 +0200 Subject: [PATCH 2/2] Adjust whitespace Co-authored-by: Serhiy Storchaka --- Python/initconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/initconfig.c b/Python/initconfig.c index c6a27aac72346e..a6d8c176156617 100644 --- a/Python/initconfig.c +++ b/Python/initconfig.c @@ -295,7 +295,7 @@ static const char usage_envvars[] = " running a local build).\n" "PYTHON_COLORS : If this variable is set to 1, the interpreter will" " colorize various kinds of output. Setting it to 0 deactivates this behavior.\n" -"PYTHON_HISTORY: the location of a .python_history file.\n" +"PYTHON_HISTORY : the location of a .python_history file.\n" "These variables have equivalent command-line parameters (see --help for details):\n" "PYTHONDEBUG : enable parser debug mode (-d)\n" "PYTHONDONTWRITEBYTECODE : don't write .pyc files (-B)\n"