Skip to content

Commit 3921b1c

Browse files
skoslowskicsabella
authored andcommitted
bpo-36275: enhance documentation for venv.create() (GH-13114)
1 parent e9b49d1 commit 3921b1c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Doc/library/venv.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,14 +234,19 @@ creation according to their needs, the :class:`EnvBuilder` class.
234234
There is also a module-level convenience function:
235235

236236
.. function:: create(env_dir, system_site_packages=False, clear=False, \
237-
symlinks=False, with_pip=False)
237+
symlinks=False, with_pip=False, prompt=None)
238238

239239
Create an :class:`EnvBuilder` with the given keyword arguments, and call its
240240
:meth:`~EnvBuilder.create` method with the *env_dir* argument.
241241

242+
.. versionadded:: 3.3
243+
242244
.. versionchanged:: 3.4
243245
Added the ``with_pip`` parameter
244246

247+
.. versionchanged:: 3.6
248+
Added the ``prompt`` parameter
249+
245250
An example of extending ``EnvBuilder``
246251
--------------------------------------
247252

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy