summaryrefslogtreecommitdiffstats
path: root/Doc/library/site.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-09-17 06:59:36 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-09-17 06:59:36 (GMT)
commitb3b32fbd695234f9e2c447108c0e7c0f1e09ad15 (patch)
treed9f4bac74ff7aae0dde3b6dc620d046c1c86da37 /Doc/library/site.rst
parent0b6f255e4b1774a7ee8e214e1f4a8b8a92a8424a (diff)
downloadcpython-b3b32fbd695234f9e2c447108c0e7c0f1e09ad15.zip
cpython-b3b32fbd695234f9e2c447108c0e7c0f1e09ad15.tar.gz
cpython-b3b32fbd695234f9e2c447108c0e7c0f1e09ad15.tar.bz2
#11643: fix rst markup error in site.rst.
Diffstat (limited to 'Doc/library/site.rst')
-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 c0fafed..c450931 100644
--- a/Doc/library/site.rst
+++ b/Doc/library/site.rst
@@ -26,7 +26,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.