diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2019-09-09 13:50:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-09 13:50:38 (GMT) |
commit | 264e034f990240e2aa379d8484b15b9e70c1fad5 (patch) | |
tree | ad7d4a65995ea2704b82984075afd837ff8df189 /Doc/library/venv.rst | |
parent | 77643c486fd22d8030e0d82c13012684b4ab6df1 (diff) | |
download | cpython-264e034f990240e2aa379d8484b15b9e70c1fad5.zip cpython-264e034f990240e2aa379d8484b15b9e70c1fad5.tar.gz cpython-264e034f990240e2aa379d8484b15b9e70c1fad5.tar.bz2 |
bpo-37662: Documented venv.EnvBuilder.upgrade_dependencies(). (GH-15768)
Diffstat (limited to 'Doc/library/venv.rst')
-rw-r--r-- | Doc/library/venv.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst index 62732d2..c674b02 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 |