diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-10-11 16:22:45 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-10-11 16:22:45 (GMT) |
commit | bd40d3e1442a49c4f5a2f87c1778a727fafa7bbc (patch) | |
tree | ab4126b4c50d9f5793bc87ad56df474a48fd6ca2 /Doc/library/venv.rst | |
parent | 24dfdb69ca5721d3e0de5686e79ae620abfa6db8 (diff) | |
download | cpython-bd40d3e1442a49c4f5a2f87c1778a727fafa7bbc.zip cpython-bd40d3e1442a49c4f5a2f87c1778a727fafa7bbc.tar.gz cpython-bd40d3e1442a49c4f5a2f87c1778a727fafa7bbc.tar.bz2 |
Closes #15776: pyvenv now works with existing directories.
Diffstat (limited to 'Doc/library/venv.rst')
-rw-r--r-- | Doc/library/venv.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst index 2499962..b2ecd93 100644 --- a/Doc/library/venv.rst +++ b/Doc/library/venv.rst @@ -75,8 +75,8 @@ creation according to their needs, the :class:`EnvBuilder` class. * ``system_site_packages`` -- a Boolean value indicating that the system Python site-packages should be available to the environment (defaults to ``False``). - * ``clear`` -- a Boolean value which, if True, will delete any existing target - directory instead of raising an exception (defaults to ``False``). + * ``clear`` -- a Boolean value which, if True, will delete the contents of + any existing target directory, before creating the environment. * ``symlinks`` -- a Boolean value indicating whether to attempt to symlink the Python binary (and any necessary DLLs or other binaries, @@ -88,7 +88,6 @@ creation according to their needs, the :class:`EnvBuilder` class. upgraded in-place (defaults to ``False``). - Creators of third-party virtual environment tools will be free to use the provided ``EnvBuilder`` class as a base class. |