Commit 3921b1cc authored by Sebastian Koslowski's avatar Sebastian Koslowski Committed by Cheryl Sabella

bpo-36275: enhance documentation for venv.create() (GH-13114)

parent e9b49d1b
......@@ -234,14 +234,19 @@ creation according to their needs, the :class:`EnvBuilder` class.
There is also a module-level convenience function:
.. function:: create(env_dir, system_site_packages=False, clear=False, \
symlinks=False, with_pip=False)
symlinks=False, with_pip=False, prompt=None)
Create an :class:`EnvBuilder` with the given keyword arguments, and call its
:meth:`~EnvBuilder.create` method with the *env_dir* argument.
.. versionadded:: 3.3
.. versionchanged:: 3.4
Added the ``with_pip`` parameter
.. versionchanged:: 3.6
Added the ``prompt`` parameter
An example of extending ``EnvBuilder``
--------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment