summaryrefslogtreecommitdiffstats
path: root/Doc/library/venv.rst
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2012-07-09 09:37:01 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2012-07-09 09:37:01 (GMT)
commitcd9b746b37fae46df2a8b669b5965272ab565ff8 (patch)
treedc9322c0ce6c1e2adf4ad247b8141f7f6e69a332 /Doc/library/venv.rst
parent6dc9f0eca7ac25519b4dd54de48d0ba1af56344f (diff)
downloadcpython-cd9b746b37fae46df2a8b669b5965272ab565ff8.zip
cpython-cd9b746b37fae46df2a8b669b5965272ab565ff8.tar.gz
cpython-cd9b746b37fae46df2a8b669b5965272ab565ff8.tar.bz2
Added cross-references to venv definition.
Diffstat (limited to 'Doc/library/venv.rst')
-rw-r--r--Doc/library/venv.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst
index ac0115b..f761a00 100644
--- a/Doc/library/venv.rst
+++ b/Doc/library/venv.rst
@@ -88,7 +88,7 @@ a Posix platform, you would typically do::
whereas on Windows, you might do::
- c:\> <venv>/Scripts/activate
+ C:\> <venv>/Scripts/activate
if you are using the ``cmd.exe`` shell, or perhaps::
@@ -108,6 +108,8 @@ a "deactivate" function, whereas on Windows there are separate scripts called
``deactivate.bat`` and ``Deactivate.ps1`` which are installed when the venv is
created.
+.. _venv-def:
+
.. note:: A virtual environment (also called a ``venv``) is a Python
environment such that the Python interpreter, libraries and scripts
installed into it are isolated from those installed in other virtual