[Python-checkins] cpython (merge 3.5 -> default): Issue #26034: Improve wording of clear parameter

berker.peksag python-checkins at python.org
Thu Jan 28 02:13:31 EST 2016


https://hg.python.org/cpython/rev/0fb96a43d381
changeset:   100086:0fb96a43d381
parent:      100084:5764cc02244d
parent:      100085:9c5370405393
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Thu Jan 28 09:13:32 2016 +0200
summary:
  Issue #26034: Improve wording of clear parameter

files:
  Lib/venv/__init__.py |  8 ++++----
  1 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/Lib/venv/__init__.py b/Lib/venv/__init__.py
--- a/Lib/venv/__init__.py
+++ b/Lib/venv/__init__.py
@@ -51,8 +51,8 @@
 
     :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 @@
     :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

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list