From: Ezio Melotti Date: Mon, 17 Sep 2012 06:59:36 +0000 (+0200) Subject: #11643: fix rst markup error in site.rst. X-Git-Tag: v3.2.4rc1~523 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=26e5878d6fa8383acd2544459993502f91a1713a;p=thirdparty%2FPython%2Fcpython.git #11643: fix rst markup error in site.rst. --- diff --git a/Doc/library/site.rst b/Doc/library/site.rst index db96adde8283..579571aca59c 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.