summaryrefslogtreecommitdiffstats
path: root/Lib/venv
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2012-11-14 11:19:42 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2012-11-14 11:19:42 (GMT)
commit2eb2f5e3597499b0c72b50bb5ed26da0e1cb65b9 (patch)
treeba6cbef3374bdca783599080683c76c0c60169a9 /Lib/venv
parent3354327113bfd3df3eda71ae682d986f4a9c549c (diff)
parent87ed599b8a4afffbcb63677b19865b06e05032cf (diff)
downloadcpython-2eb2f5e3597499b0c72b50bb5ed26da0e1cb65b9.zip
cpython-2eb2f5e3597499b0c72b50bb5ed26da0e1cb65b9.tar.gz
cpython-2eb2f5e3597499b0c72b50bb5ed26da0e1cb65b9.tar.bz2
Closes #16378: Merged docstring changes from 3.3.
Diffstat (limited to 'Lib/venv')
-rw-r--r--Lib/venv/__init__.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/Lib/venv/__init__.py b/Lib/venv/__init__.py
index 1b91c22..ecdb68e 100644
--- a/Lib/venv/__init__.py
+++ b/Lib/venv/__init__.py
@@ -54,9 +54,11 @@ class EnvBuilder:
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 @@ def create(env_dir, system_site_packages=False, clear=False, symlinks=False):
"""
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