Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 71e7296

Browse files
committed
Updated pyvenv documentation to match its current behaviour.
1 parent 48e8100 commit 71e7296

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Doc/using/venv-create.inc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,11 @@ The command, if run with ``-h``, will show the available options::
5757
Installs pip by default, added the ``--without-pip`` and ``--copies``
5858
options
5959

60-
If the target directory already exists an error will be raised, unless
61-
the ``--clear`` or ``--upgrade`` option was provided.
60+
.. versionchanged:: 3.4
61+
In earlier versions, if the target directory already existed, an error was
62+
raised, unless the ``--clear`` or ``--upgrade`` option was provided. Now,
63+
if an existing directory is specified, its contents are removed and
64+
the directory is processed as if it had been newly created.
6265

6366
The created ``pyvenv.cfg`` file also includes the
6467
``include-system-site-packages`` key, set to ``true`` if ``venv`` is

0 commit comments

Comments
 (0)