]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44388: Update venv EnvBuilder.ensure_directories() docs. (GH-26663)
authorMatthew Clapp <itsayellow+dev@gmail.com>
Fri, 2 Jul 2021 20:48:15 +0000 (13:48 -0700)
committerGitHub <noreply@github.com>
Fri, 2 Jul 2021 20:48:15 +0000 (13:48 -0700)
commit4bcef2bb48b3fd82011a89c1c716421b789f1442
tree42ba6fc8eb4019c7da4c099d6de644bf140e6f2d
parentec8759b060eff83ff466f42c5a96d83a685016ce
bpo-44388: Update venv EnvBuilder.ensure_directories() docs. (GH-26663)

Ref:

This changes the documentation for `EnvBuilder.ensure_directories(env_dir)` to match the actual behavior of that API call.

In particular, `ensure_directories()` is not affected by the state of the `upgrade` attribute, and will not cause an error to have existing directories whether or not the `clear` attribute is set.

This documentation change I believe should be valid to all python versions back to 3.6.

Automerge-Triggered-By: GH:vsajip
Doc/library/venv.rst