summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Koslowski <sebastian.koslowski@gmail.com>2019-05-06 18:51:09 (GMT)
committerCheryl Sabella <cheryl.sabella@gmail.com>2019-05-06 18:51:09 (GMT)
commit3921b1cc34c2fc8b8b480c19a95ec306de710fdd (patch)
treea7d3880c110356302afcbdaf7fb7145e28db7c9f
parente9b49d1b4eec21f2da838db3360f6458cf648c36 (diff)
downloadcpython-3921b1cc34c2fc8b8b480c19a95ec306de710fdd.zip
cpython-3921b1cc34c2fc8b8b480c19a95ec306de710fdd.tar.gz
cpython-3921b1cc34c2fc8b8b480c19a95ec306de710fdd.tar.bz2
bpo-36275: enhance documentation for venv.create() (GH-13114)
-rw-r--r--Doc/library/venv.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst
index 412808a..4f083a3 100644
--- a/Doc/library/venv.rst
+++ b/Doc/library/venv.rst
@@ -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``
--------------------------------------