]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-119078: Clarify venv tutorial (GH-119129)
authorNice Zombies <nineteendo19d0@gmail.com>
Sat, 18 May 2024 11:44:02 +0000 (13:44 +0200)
committerGitHub <noreply@github.com>
Sat, 18 May 2024 11:44:02 +0000 (12:44 +0100)
Doc/tutorial/venv.rst

index a6dead2eac11f680e6c6bf1571a8ddb3a92ab117..6cca3f1b25aadc2a92bd05f99acc672113f3426e 100644 (file)
@@ -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::