summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorElena Oat <oat.elena@gmail.com>2018-07-28 12:58:05 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2018-07-28 12:58:05 (GMT)
commit50326927465c3f5c6c0168fc43310c8e97db0a47 (patch)
tree0c91f34a6751949f0d3549264173bf24c6c26ad8 /Doc
parent8fe9eed937cb69b5e26ac6e36a90b5360eb11277 (diff)
downloadcpython-50326927465c3f5c6c0168fc43310c8e97db0a47.zip
cpython-50326927465c3f5c6c0168fc43310c8e97db0a47.tar.gz
cpython-50326927465c3f5c6c0168fc43310c8e97db0a47.tar.bz2
bpo-24356: Specify which Python binary will be used with venv (GH-6589)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/venv.rst11
-rw-r--r--Doc/using/venv-create.inc5
2 files changed, 8 insertions, 8 deletions
diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst
index b85d642..7058d3a 100644
--- a/Doc/library/venv.rst
+++ b/Doc/library/venv.rst
@@ -17,12 +17,17 @@
The :mod:`venv` module provides support for creating lightweight "virtual
environments" with their own site directories, optionally isolated from system
-site directories. Each virtual environment has its own Python binary (allowing
-creation of environments with various Python versions) and can have its own
-independent set of installed Python packages in its site directories.
+site directories. Each virtual environment has its own Python binary (which
+matches the version of the binary that was used to create this environment) and
+can have its own independent set of installed Python packages in its site
+directories.
See :pep:`405` for more information about Python virtual environments.
+.. seealso::
+
+ `Python Packaging User Guide: Creating and using virtual environments
+ <https://packaging.python.org/installing/#creating-virtual-environments>`__
Creating virtual environments
diff --git a/Doc/using/venv-create.inc b/Doc/using/venv-create.inc
index 4c7795a..272090d 100644
--- a/Doc/using/venv-create.inc
+++ b/Doc/using/venv-create.inc
@@ -20,11 +20,6 @@ directory is specified, it will be re-used.
.. versionchanged:: 3.5
The use of ``venv`` is now recommended for creating virtual environments.
-.. seealso::
-
- `Python Packaging User Guide: Creating and using virtual environments
- <https://packaging.python.org/installing/#creating-virtual-environments>`__
-
.. highlight:: none
On Windows, invoke the ``venv`` command as follows::