diff options
author | Fred Drake <fdrake@acm.org> | 1999-04-23 20:33:59 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-04-23 20:33:59 (GMT) |
commit | 24aca83dbd7c97b4c29fbbff46886abb40f5ace1 (patch) | |
tree | 339bdfe6f98e492897ae8d9399cb3b97e8a75a6f /Doc | |
parent | 29cf682b71e8b3724ea1b42e25bda5b2755729d8 (diff) | |
download | cpython-24aca83dbd7c97b4c29fbbff46886abb40f5ace1.zip cpython-24aca83dbd7c97b4c29fbbff46886abb40f5ace1.tar.gz cpython-24aca83dbd7c97b4c29fbbff46886abb40f5ace1.tar.bz2 |
Fixed typo and font-control problem reported by Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libsite.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libsite.tex b/Doc/lib/libsite.tex index e0afe30..20574ab 100644 --- a/Doc/lib/libsite.tex +++ b/Doc/lib/libsite.tex @@ -12,14 +12,14 @@ modules that needed to use site-specific modules would place \samp{import site} somewhere near the top of their code. This is no longer necessary. -This will append site-specific paths to to the module search path. +This will append site-specific paths to the module search path. \indexiii{module}{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 Macintosh or Windows) or -it uses first \file{lib/python\var{version}/site-packages} and then +it uses first \file{lib/python{\var{version}}/site-packages} and then \file{lib/site-python} (on \UNIX{}). For each of the distinct head-tail combinations, it sees if it refers to an existing directory, and if so, adds to \code{sys.path}, and also inspected for path |