]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Improved venv docs to indicate that isolation is the default. (GH-136698)...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 17 Jul 2025 10:24:54 +0000 (12:24 +0200)
committerGitHub <noreply@github.com>
Thu, 17 Jul 2025 10:24:54 +0000 (11:24 +0100)
(cherry picked from commit 8e2f4b448380b4c835442534d566618f06e32573)
Co-authored-by: Facundo Batista <facundo@taniquetil.com.ar>
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
Doc/library/venv.rst

index f16e24eac083430b2c3c70ec854a39572c976bd2..de427fbafe71dc280ab1db119c183f53497b1649 100644 (file)
@@ -22,10 +22,10 @@ The :mod:`!venv` module supports creating lightweight "virtual environments",
 each with their own independent set of Python packages installed in
 their :mod:`site` directories.
 A virtual environment is created on top of an existing
-Python installation, known as the virtual environment's "base" Python, and may
-optionally be isolated from the packages in the base environment,
-so only those explicitly installed in the virtual environment are available.
-See :ref:`sys-path-init-virtual-environments` and :mod:`site`'s
+Python installation, known as the virtual environment's "base" Python, and by
+default is isolated from the packages in the base environment,
+so that only those explicitly installed in the virtual environment are
+available. See :ref:`sys-path-init-virtual-environments` and :mod:`site`'s
 :ref:`virtual environments documentation <site-virtual-environments-configuration>`
 for more information.