]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-34556: Document addition of upgrade_deps to venv.create (GH-20135)
authorShantanu <hauntsaninja@users.noreply.github.com>
Sat, 23 May 2020 09:58:50 +0000 (02:58 -0700)
committerGitHub <noreply@github.com>
Sat, 23 May 2020 09:58:50 +0000 (02:58 -0700)
Doc/library/venv.rst

index 8abadc4df3cac8c651a457eaff166a852fe956bb..5d4a36481f1dcc5b51e78471edb3cf067afb0a9a 100644 (file)
@@ -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``
 --------------------------------------