From: Vinay Sajip <vinay_sajip@yahoo.co.uk>
Date: Mon, 9 Sep 2019 13:50:38 +0000 (+0100)
Subject: bpo-37662: Documented venv.EnvBuilder.upgrade_dependencies(). (GH-15768)
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=264e034f990240e2aa379d8484b15b9e70c1fad5;p=python

bpo-37662: Documented venv.EnvBuilder.upgrade_dependencies(). (GH-15768)
---

diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst
index 62732d2243..c674b02a70 100644
--- a/Doc/library/venv.rst
+++ b/Doc/library/venv.rst
@@ -191,6 +191,14 @@ creation according to their needs, the :class:`EnvBuilder` class.
         Installs activation scripts appropriate to the platform into the virtual
         environment.
 
+    .. method:: upgrade_dependencies(context)
+
+       Upgrades the core venv dependency packages (currently ``pip`` and
+       ``setuptools``) in the environment. This is done by shelling out to the
+       ``pip`` executable in the environment.
+
+       .. versionadded:: 3.8
+
     .. method:: post_setup(context)
 
         A placeholder method which can be overridden in third party