summaryrefslogtreecommitdiffstats
path: root/Lib/venv
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-01-28 07:13:14 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-01-28 07:13:14 (GMT)
commit22532ac2eb4440ff40ceefe510069a4927ab63ee (patch)
tree1e2e0697933067bccadbd8538bb9660b62fddf27 /Lib/venv
parent547f66f599482d2c149013262d55cc98d72c592f (diff)
downloadcpython-22532ac2eb4440ff40ceefe510069a4927ab63ee.zip
cpython-22532ac2eb4440ff40ceefe510069a4927ab63ee.tar.gz
cpython-22532ac2eb4440ff40ceefe510069a4927ab63ee.tar.bz2
Issue #26034: Improve wording of clear parameter
Diffstat (limited to 'Lib/venv')
-rw-r--r--Lib/venv/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/venv/__init__.py b/Lib/venv/__init__.py
index f1d0649..74245ab 100644
--- a/Lib/venv/__init__.py
+++ b/Lib/venv/__init__.py
@@ -51,8 +51,8 @@ class EnvBuilder:
:param system_site_packages: If True, the system (global) site-packages
dir is available to created environments.
- :param clear: Delete the contents of the environment directory if it
- already exists, before environment creation.
+ :param clear: If True, delete the contents of the environment directory if
+ it already exists, before environment creation.
:param symlinks: If True, attempt to symlink rather than copy files into
virtual environment.
:param upgrade: If True, upgrade an existing virtual environment.
@@ -359,8 +359,8 @@ def create(env_dir, system_site_packages=False, clear=False,
:param env_dir: The target directory to create an environment in.
:param system_site_packages: If True, the system (global) site-packages
dir is available to the environment.
- :param clear: Delete the contents of the environment directory if it
- already exists, before environment creation.
+ :param clear: If True, delete the contents of the environment directory if
+ it already exists, before environment creation.
:param symlinks: If True, attempt to symlink rather than copy files into
virtual environment.
:param with_pip: If True, ensure pip is installed in the virtual