summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-05-18 12:06:23 (GMT)
committerGitHub <noreply@github.com>2024-05-18 12:06:23 (GMT)
commit1bb3a9df1b0e4884c1bc6316eb1275ac17a2cedc (patch)
treedccda3b51d7532b3bc528d0c1f58cd03e11d80fb /Doc/tutorial
parent374655fa83cf13e3dfd9bbaaf9a33350cb74f2cc (diff)
downloadcpython-1bb3a9df1b0e4884c1bc6316eb1275ac17a2cedc.zip
cpython-1bb3a9df1b0e4884c1bc6316eb1275ac17a2cedc.tar.gz
cpython-1bb3a9df1b0e4884c1bc6316eb1275ac17a2cedc.tar.bz2
[3.13] gh-119078: Clarify venv tutorial (GH-119129) (GH-119142)
(cherry picked from commit 0f5e8bed636c2f29701e5a1965d1b088d33abbf0)
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/venv.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/tutorial/venv.rst b/Doc/tutorial/venv.rst
index a6dead2..6cca3f1 100644
--- a/Doc/tutorial/venv.rst
+++ b/Doc/tutorial/venv.rst
@@ -36,10 +36,10 @@ Creating Virtual Environments
=============================
The module used to create and manage virtual environments is called
-:mod:`venv`. :mod:`venv` will usually install the most recent version of
-Python that you have available. If you have multiple versions of Python on your
-system, you can select a specific Python version by running ``python3`` or
-whichever version you want.
+:mod:`venv`. :mod:`venv` will install the Python version from which
+the command was run (as reported by the :option:`--version` option).
+For instance, excuting the command with ``python3.12`` will install
+version 3.12.
To create a virtual environment, decide upon a directory where you want to
place it, and run the :mod:`venv` module as a script with the directory path::