Skip to content

Commit 8e2f4b4

Browse files
Improved venv docs to indicate that isolation is the default. (#136698)
* Improved venv docs to note that isolation is the default. * Insert "that" so that a sentence reads better. * Improved wording. --------- Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
1 parent ef66fb5 commit 8e2f4b4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/venv.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ The :mod:`!venv` module supports creating lightweight "virtual environments",
2222
each with their own independent set of Python packages installed in
2323
their :mod:`site` directories.
2424
A virtual environment is created on top of an existing
25-
Python installation, known as the virtual environment's "base" Python, and may
26-
optionally be isolated from the packages in the base environment,
27-
so only those explicitly installed in the virtual environment are available.
28-
See :ref:`sys-path-init-virtual-environments` and :mod:`site`'s
25+
Python installation, known as the virtual environment's "base" Python, and by
26+
default is isolated from the packages in the base environment,
27+
so that only those explicitly installed in the virtual environment are
28+
available. See :ref:`sys-path-init-virtual-environments` and :mod:`site`'s
2929
:ref:`virtual environments documentation <site-virtual-environments-configuration>`
3030
for more information.
3131

0 commit comments

Comments
 (0)