Skip to content

Commit 1cba1c9

Browse files
authored
bpo-34556: Document addition of upgrade_deps to venv.create (GH-20135)
1 parent af23f0d commit 1cba1c9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Doc/library/venv.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ creation according to their needs, the :class:`EnvBuilder` class.
249249
There is also a module-level convenience function:
250250

251251
.. function:: create(env_dir, system_site_packages=False, clear=False, \
252-
symlinks=False, with_pip=False, prompt=None)
252+
symlinks=False, with_pip=False, prompt=None, \
253+
upgrade_deps=False)
253254

254255
Create an :class:`EnvBuilder` with the given keyword arguments, and call its
255256
:meth:`~EnvBuilder.create` method with the *env_dir* argument.
@@ -262,6 +263,9 @@ There is also a module-level convenience function:
262263
.. versionchanged:: 3.6
263264
Added the ``prompt`` parameter
264265

266+
.. versionchanged:: 3.9
267+
Added the ``upgrade_deps`` parameter
268+
265269
An example of extending ``EnvBuilder``
266270
--------------------------------------
267271

0 commit comments

Comments
 (0)