]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-38928: Fix versionadded for venv's upgrade_deps function (GH-17404)
authorTzu-ping Chung <uranusjr@gmail.com>
Wed, 27 Nov 2019 20:21:48 +0000 (04:21 +0800)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Wed, 27 Nov 2019 20:21:48 +0000 (20:21 +0000)
Doc/library/venv.rst
Misc/NEWS.d/next/Documentation/2019-11-27-17-51-27.bpo-38928.AfgvfO.rst [new file with mode: 0644]

index b29fb3ebb60eadf171077f79ce697489a0e2a769..5494c0c878bc523d338794de047ec089bacf4908 100644 (file)
@@ -132,7 +132,7 @@ creation according to their needs, the :class:`EnvBuilder` class.
     .. versionadded:: 3.6
        Added the ``prompt`` parameter
 
-    .. versionadded:: 3.8
+    .. versionadded:: 3.9
        Added the ``upgrade_deps`` parameter
 
     Creators of third-party virtual environment tools will be free to use the
@@ -197,7 +197,7 @@ creation according to their needs, the :class:`EnvBuilder` class.
        ``setuptools``) in the environment. This is done by shelling out to the
        ``pip`` executable in the environment.
 
-       .. versionadded:: 3.8
+       .. versionadded:: 3.9
 
     .. method:: post_setup(context)
 
diff --git a/Misc/NEWS.d/next/Documentation/2019-11-27-17-51-27.bpo-38928.AfgvfO.rst b/Misc/NEWS.d/next/Documentation/2019-11-27-17-51-27.bpo-38928.AfgvfO.rst
new file mode 100644 (file)
index 0000000..952d4a8
--- /dev/null
@@ -0,0 +1,2 @@
+Correct when venv's ``upgrade_dependencies()`` and ``--upgrade-deps`` are
+added.