summaryrefslogtreecommitdiffstats
path: root/Lib/site.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2012-07-03 15:33:57 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2012-07-03 15:33:57 (GMT)
commitabd344cbab00851911c89a5202da1aa601ab47c7 (patch)
treed20ba395d0c6fff974d398e63f017de131f77dfb /Lib/site.py
parent0a0280196f66bee6a184b314d4674f5467a0b2cc (diff)
downloadcpython-abd344cbab00851911c89a5202da1aa601ab47c7.zip
cpython-abd344cbab00851911c89a5202da1aa601ab47c7.tar.gz
cpython-abd344cbab00851911c89a5202da1aa601ab47c7.tar.bz2
Issue 15241: Improved site.py documentation relating to venvs.
Diffstat (limited to 'Lib/site.py')
-rw-r--r--Lib/site.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/site.py b/Lib/site.py
index a0f98b3..0aaf46b 100644
--- a/Lib/site.py
+++ b/Lib/site.py
@@ -15,8 +15,8 @@ also inspected for path configuration files.
If a file named "pyvenv.cfg" exists one directory above sys.executable,
sys.prefix and sys.exec_prefix are set to that directory and
-it is also checked for site-packages and site-python (sys.prefix and
-sys.exec_prefix will always be the "real" prefixes of the Python
+it is also checked for site-packages and site-python (sys.base_prefix and
+sys.base_exec_prefix will always be the "real" prefixes of the Python
installation). If "pyvenv.cfg" (a bootstrap configuration file) contains
the key "include-system-site-packages" set to anything other than "false"
(case-insensitive), the system-level prefixes will still also be