diff options
author | Zackery Spytz <zspytz@gmail.com> | 2024-01-07 06:30:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-07 06:30:12 (GMT) |
commit | f19b93fce04fb0bc9b59071915a6aa6b01860d8a (patch) | |
tree | 60b5f104bc68bc35f79d681aacf94f70a6dcc6e7 /Python/initconfig.c | |
parent | 541c5dbb81c784afd587406be2cc82645979a107 (diff) | |
download | cpython-f19b93fce04fb0bc9b59071915a6aa6b01860d8a.zip cpython-f19b93fce04fb0bc9b59071915a6aa6b01860d8a.tar.gz cpython-f19b93fce04fb0bc9b59071915a6aa6b01860d8a.tar.bz2 |
gh-73965: New environment variable PYTHON_HISTORY (#13208)
It can be used to set the location of a .python_history file
---------
Co-authored-by: Levi Sabah <0xl3vi@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Diffstat (limited to 'Python/initconfig.c')
-rw-r--r-- | Python/initconfig.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/initconfig.c b/Python/initconfig.c index 06e3179..aad3b3d 100644 --- a/Python/initconfig.c +++ b/Python/initconfig.c @@ -296,6 +296,7 @@ static const char usage_envvars[] = "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" "PYTHONDEBUG : enable parser debug mode (-d)\n" "PYTHONDONTWRITEBYTECODE : don't write .pyc files (-B)\n" "PYTHONINSPECT : inspect interactively after running script (-i)\n" |