Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1bb3a9d

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

File tree

1 file changed

+4
-4
lines changed
Filter options

1 file changed

+4
-4
lines changed

‎Doc/tutorial/venv.rst

Copy file name to clipboardExpand all lines: Doc/tutorial/venv.rst
+4-4Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.