diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2013-10-02 10:36:16 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2013-10-02 10:36:16 (GMT) |
commit | dff9e2535f5bf73f1491edc45928eef51a701074 (patch) | |
tree | a8345bf9e94fb6095a0eb41da069232184009fe1 /Doc/library/venv.rst | |
parent | 7c411a40413d9525aeb6114d71be3e012dbf81f5 (diff) | |
download | cpython-dff9e2535f5bf73f1491edc45928eef51a701074.zip cpython-dff9e2535f5bf73f1491edc45928eef51a701074.tar.gz cpython-dff9e2535f5bf73f1491edc45928eef51a701074.tar.bz2 |
Closes #19139: Changed usage of __VENV_NAME__ and added __VENV_PROMPT__.
Diffstat (limited to 'Doc/library/venv.rst')
-rw-r--r-- | Doc/library/venv.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst index 2fb5cda..eda0cb6 100644 --- a/Doc/library/venv.rst +++ b/Doc/library/venv.rst @@ -187,6 +187,9 @@ creation according to their needs, the :class:`EnvBuilder` class. * ``__VENV_NAME__`` is replaced with the environment name (final path segment of environment directory). + * ``__VENV_PROMPT__`` is replaced with the prompt (the environment + name surrounded by parentheses and with a following space) + * ``__VENV_BIN_NAME__`` is replaced with the name of the bin directory (either ``bin`` or ``Scripts``). |