summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2015-01-23 19:35:12 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2015-01-23 19:35:12 (GMT)
commit71e72960169dbcacc3c62cef7e024f3b1cd95f2e (patch)
treea40fcea216ec55f0458bab0945b12aa5f4a77409 /Doc/using
parent48e810069ddc725903588c9609ac84900ee65b4c (diff)
downloadcpython-71e72960169dbcacc3c62cef7e024f3b1cd95f2e.zip
cpython-71e72960169dbcacc3c62cef7e024f3b1cd95f2e.tar.gz
cpython-71e72960169dbcacc3c62cef7e024f3b1cd95f2e.tar.bz2
Updated pyvenv documentation to match its current behaviour.
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/venv-create.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/using/venv-create.inc b/Doc/using/venv-create.inc
index ba1cdcc..5fc46d2 100644
--- a/Doc/using/venv-create.inc
+++ b/Doc/using/venv-create.inc
@@ -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