[Python-checkins] cpython (merge 3.3 -> default): Closes #16378: Merged docstring changes from 3.3.

vinay.sajip python-checkins at python.org
Wed Nov 14 12:20:00 CET 2012


http://hg.python.org/cpython/rev/6f0e49ed0589
changeset: 80425:6f0e49ed0589
parent: 80422:770329b88214
parent: 80424:afb476dc202f
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Wed Nov 14 11:19:42 2012 +0000
summary:
 Closes #16378: Merged docstring changes from 3.3.
files:
 Lib/venv/__init__.py | 11 +++++++----
 1 files changed, 7 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
@@ -54,9 +54,11 @@
 behaviour when called upon to create a virtual environment.
 
 By default, the builder makes the system (global) site-packages dir
- available to the created environment.
+ *un*available to the created environment.
 
- By default, the creation process uses symlinks wherever possible.
+ If invoked using the Python -m option, the default is to use copying
+ on Windows platforms but symlinks elsewhere. If instantiated some
+ other way, the default is to *not* use symlinks.
 
 :param system_site_packages: If True, the system (global) site-packages
 dir is available to created environments.
@@ -330,8 +332,9 @@
 """
 Create a virtual environment in a directory.
 
- By default, makes the system (global) site-packages dir available to
- the created environment.
+ By default, makes the system (global) site-packages dir *un*available to
+ the created environment, and uses copying rather than symlinking for files
+ obtained from the source Python installation.
 
 :param env_dir: The target directory to create an environment in.
 :param system_site_packages: If True, the system (global) site-packages
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /