diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2015-01-23 19:36:54 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2015-01-23 19:36:54 (GMT) |
commit | 9aeef32cc0e76a2f70e70133410960f3e1a84e09 (patch) | |
tree | ca6da5ee0c34b288b0e10750aaee1a840e28727a | |
parent | 9d8a3ad02acdd7800775b4e1e205bf7c8e47162f (diff) | |
parent | 71e72960169dbcacc3c62cef7e024f3b1cd95f2e (diff) | |
download | cpython-9aeef32cc0e76a2f70e70133410960f3e1a84e09.zip cpython-9aeef32cc0e76a2f70e70133410960f3e1a84e09.tar.gz cpython-9aeef32cc0e76a2f70e70133410960f3e1a84e09.tar.bz2 |
Closes #23202: pyvenv documentation updated to match its behavior.
-rw-r--r-- | Doc/using/venv-create.inc | 7 |
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 |