diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2006-06-12 08:27:13 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2006-06-12 08:27:13 (GMT) |
commit | f0d02fbb9a9d8a8ec8729865b4bb9390bb13a73c (patch) | |
tree | 643b2b3870ff98cb0917765ef7d7a5af2ece107a | |
parent | f2b16f3eb4ae0bdcf267c49a6c46d230db2fbe23 (diff) | |
download | cpython-f0d02fbb9a9d8a8ec8729865b4bb9390bb13a73c.zip cpython-f0d02fbb9a9d8a8ec8729865b4bb9390bb13a73c.tar.gz cpython-f0d02fbb9a9d8a8ec8729865b4bb9390bb13a73c.tar.bz2 |
The site module documentation also described the Windows behaviour incorrectly.
-rw-r--r-- | Doc/lib/libsite.tex | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Doc/lib/libsite.tex b/Doc/lib/libsite.tex index 43b8db2..c079790 100644 --- a/Doc/lib/libsite.tex +++ b/Doc/lib/libsite.tex @@ -16,12 +16,13 @@ search path. It starts by constructing up to four directories from a head and a tail part. For the head part, it uses \code{sys.prefix} and \code{sys.exec_prefix}; empty heads are skipped. For -the tail part, it uses the empty string (on Windows) or -\file{lib/python\shortversion/site-packages} (on \UNIX{} and Macintosh) -and then \file{lib/site-python}. For each of the distinct -head-tail combinations, it sees if it refers to an existing directory, -and if so, adds it to \code{sys.path} and also inspects the newly added -path for configuration files. +the tail part, it uses the empty string and then +\file{lib/site-packages} (on Windows) or +\file{lib/python\shortversion/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 \code{sys.path} and also inspects +the newly added path for configuration files. \indexii{site-python}{directory} \indexii{site-packages}{directory} |