Skip to content

Commit d5176fe

Browse files
miss-islingtonmkkot
authored andcommitted
bpo-35450: reflect in docs that venv module is not always creating a copy of the Python binary (GH-11144) (GH-11167)
https://bugs.python.org/issue35450 (cherry picked from commit f5107df) Co-authored-by: mkkot <[email protected]>
1 parent 77824ef commit d5176fe

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Doc/using/venv-create.inc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ Running this command creates the target directory (creating any parent
77
directories that don't exist already) and places a ``pyvenv.cfg`` file in it
88
with a ``home`` key pointing to the Python installation from which the command
99
was run. It also creates a ``bin`` (or ``Scripts`` on Windows) subdirectory
10-
containing a copy of the ``python`` binary (or binaries, in the case of
11-
Windows). It also creates an (initially empty) ``lib/pythonX.Y/site-packages``
12-
subdirectory (on Windows, this is ``Lib\site-packages``). If an existing
10+
containing a copy/symlink of the Python binary/binaries (as appropriate for the
11+
platform or arguments used at environment creation time). It also creates an
12+
(initially empty) ``lib/pythonX.Y/site-packages`` subdirectory
13+
(on Windows, this is ``Lib\site-packages``). If an existing
1314
directory is specified, it will be re-used.
1415
1516
.. deprecated:: 3.6

0 commit comments

Comments
 (0)