8000 [3.13] gh-119078: Clarify venv tutorial (GH-119129) (GH-119142) · python/cpython@1bb3a9d · GitHub
[go: up one dir, main page]

Skip to content

Commit 1bb3a9d

Browse files
[3.13] gh-119078: Clarify venv tutorial (GH-119129) (GH-119142)
(cherry picked from commit 0f5e8be)
1 parent 374655f commit 1bb3a9d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/tutorial/venv.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ Creating Virtual Environments
3636
=============================
3737

3838
The module used to create and manage virtual environments is called
39-
:mod:`venv`. :mod:`venv` will usually install the most recent version of
40-
Python that you have available. If you have multiple versions of Python on your
41-
system, you can select a specific Python version by running ``python3`` or
42-
whichever version you want.
39+
:mod:`venv`. :mod:`venv` will install the Python version from which
40+
the command was run (as reported by the :option:`--version` option).
41+
For instance, excuting the command with ``python3.12`` will install
42+
version 3.12.
4343

4444
To create a virtual environment, decide upon a directory where you want to
4545
place it, and run the :mod:`venv` module as a script with the directory path::

0 commit comments

Comments
 (0)
0