Skip to content

Commit

Permalink
bpo-37662: Documented venv.EnvBuilder.upgrade_dependencies(). (GH-15768)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsajip committed Sep 9, 2019
1 parent 77643c4 commit 264e034
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Doc/library/venv.rst
Expand Up @@ -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
Expand Down

0 comments on commit 264e034

Please sign in to comment.