]> granicus.if.org Git - python/commitdiff
Updated pyvenv documentation to match its current behaviour.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Fri, 23 Jan 2015 19:35:12 +0000 (19:35 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Fri, 23 Jan 2015 19:35:12 +0000 (19:35 +0000)
Doc/using/venv-create.inc

index ba1cdcc50b53ac5e6ef9baae93357a0932e159a8..5fc46d245beb734aed823e158df3a9598f0c293a 100644 (file)
@@ -57,8 +57,11 @@ The command, if run with ``-h``, will show the available options::
    Installs pip by default, added the ``--without-pip``  and ``--copies``
    options
 
-If the target directory already exists an error will be raised, unless
-the ``--clear`` or ``--upgrade`` option was provided.
+.. versionchanged:: 3.4
+   In earlier versions, if the target directory already existed, an error was
+   raised, unless the ``--clear`` or ``--upgrade`` option was provided. Now,
+   if an existing directory is specified, its contents are removed and
+   the directory is processed as if it had been newly created.
 
 The created ``pyvenv.cfg`` file also includes the
 ``include-system-site-packages`` key, set to ``true`` if ``venv`` is