]> granicus.if.org Git - python/commitdiff
bpo-37662: Documented venv.EnvBuilder.upgrade_dependencies(). (GH-15768)
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Mon, 9 Sep 2019 13:50:38 +0000 (14:50 +0100)
committerGitHub <noreply@github.com>
Mon, 9 Sep 2019 13:50:38 +0000 (14:50 +0100)
Doc/library/venv.rst

index 62732d22438672df9e33feec9544b56acb05b24a..c674b02a7065a9dc8225662d30e3d10bbe165c86 100644 (file)
@@ -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