summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-09-17 07:01:03 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-09-17 07:01:03 (GMT)
commit4a5fae1b794846faa02bbdd7c67272db290d2e66 (patch)
tree3db5480973660c0fd7ea8d2e2e925b8545fbcded
parent8646e8ea726e5efded8869ac358b2940584885a6 (diff)
parent26e5878d6fa8383acd2544459993502f91a1713a (diff)
downloadcpython-4a5fae1b794846faa02bbdd7c67272db290d2e66.zip
cpython-4a5fae1b794846faa02bbdd7c67272db290d2e66.tar.gz
cpython-4a5fae1b794846faa02bbdd7c67272db290d2e66.tar.bz2
#11643: merge with 3.2.
-rw-r--r--Doc/library/site.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/site.rst b/Doc/library/site.rst
index 3bf8a99..36b80c3 100644
--- a/Doc/library/site.rst
+++ b/Doc/library/site.rst
@@ -33,7 +33,7 @@ It starts by constructing up to four directories from a head and a tail part.
For the head part, it uses ``sys.prefix`` and ``sys.exec_prefix``; empty heads
are skipped. For the tail part, it uses the empty string and then
:file:`lib/site-packages` (on Windows) or
-:file:`lib/python|version|/site-packages` and then :file:`lib/site-python` (on
+:file:`lib/python{X.Y}/site-packages` and then :file:`lib/site-python` (on
Unix and Macintosh). For each of the distinct head-tail combinations, it sees
if it refers to an existing directory, and if so, adds it to ``sys.path`` and
also inspects the newly added path for configuration files.