diff options
author | Shantanu <hauntsaninja@users.noreply.github.com> | 2020-05-23 09:58:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-23 09:58:50 (GMT) |
commit | 1cba1c9abadf76f458ecf883a48515aa3b534dbd (patch) | |
tree | c7accd761d3a586542f5188e1a9e4952df917279 /Doc/library | |
parent | af23f0d3cf19343512e6ca1fe1d46a5dbe425719 (diff) | |
download | cpython-1cba1c9abadf76f458ecf883a48515aa3b534dbd.zip cpython-1cba1c9abadf76f458ecf883a48515aa3b534dbd.tar.gz cpython-1cba1c9abadf76f458ecf883a48515aa3b534dbd.tar.bz2 |
bpo-34556: Document addition of upgrade_deps to venv.create (GH-20135)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/venv.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst index 8abadc4..5d4a364 100644 --- a/Doc/library/venv.rst +++ b/Doc/library/venv.rst @@ -249,7 +249,8 @@ creation according to their needs, the :class:`EnvBuilder` class. There is also a module-level convenience function: .. function:: create(env_dir, system_site_packages=False, clear=False, \ - symlinks=False, with_pip=False, prompt=None) + symlinks=False, with_pip=False, prompt=None, \ + upgrade_deps=False) Create an :class:`EnvBuilder` with the given keyword arguments, and call its :meth:`~EnvBuilder.create` method with the *env_dir* argument. @@ -262,6 +263,9 @@ There is also a module-level convenience function: .. versionchanged:: 3.6 Added the ``prompt`` parameter + .. versionchanged:: 3.9 + Added the ``upgrade_deps`` parameter + An example of extending ``EnvBuilder`` -------------------------------------- |