Skip to content

Commit 9a03c77

Browse files
bpo-36275: enhance documentation for venv.create() (GH-13114)
(cherry picked from commit 3921b1c) Co-authored-by: Sebastian Koslowski <[email protected]>
1 parent 8777915 commit 9a03c77

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
@@ -239,14 +239,19 @@ creation according to their needs, the :class:`EnvBuilder` class.
239239
There is also a module-level convenience function:
240240

241241
.. function:: create(env_dir, system_site_packages=False, clear=False, \
242-
symlinks=False, with_pip=False)
242+
symlinks=False, with_pip=False, prompt=None)
243243

244244
Create an :class:`EnvBuilder` with the given keyword arguments, and call its
245245
:meth:`~EnvBuilder.create` method with the *env_dir* argument.
246246

247+
.. versionadded:: 3.3
248+
247249
.. versionchanged:: 3.4
248250
Added the ``with_pip`` parameter
249251

252+
.. versionchanged:: 3.6
253+
Added the ``prompt`` parameter
254+
250255
An example of extending ``EnvBuilder``
251256
--------------------------------------
252257

0 commit comments

Comments
 (0)