diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2013-10-02 11:36:16 +0100 |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2013-10-02 11:36:16 +0100 |
commit | c8302e8a018c820b93420c2b7aebe1723d2f7df4 (patch) | |
tree | ccaa2ed926a1eb445939d08ba380b1edbfdab673 /Doc/library/venv.rst | |
parent | 36d4c5b37d9a7017c36e3070a7d6815dbd1fb2a5 (diff) | |
download | cpython-c8302e8a018c820b93420c2b7aebe1723d2f7df4.tar.gz |
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 2fb5cdae04..eda0cb6bf3 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``). |