From 22532ac2eb4440ff40ceefe510069a4927ab63ee Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Thu, 28 Jan 2016 09:13:14 +0200 Subject: Issue #26034: Improve wording of clear parameter --- Lib/venv/__init__.py | 8 ++++---- 1 file 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 -- cgit v0.12