Kaydet (Commit) 24aca83d authored tarafından Fred Drake's avatar Fred Drake

Fixed typo and font-control problem reported by Detlef Lannert

<lannert@lannert.rz.uni-duesseldorf.de>.
üst 29cf682b
...@@ -12,14 +12,14 @@ modules that needed to use site-specific modules would place ...@@ -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 \samp{import site} somewhere near the top of their code. This is no
longer necessary. 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} \indexiii{module}{search}{path}
It starts by constructing up to four directories from a head and a 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 tail part. For the head part, it uses \code{sys.prefix} and
\code{sys.exec_prefix}; empty heads are skipped. For \code{sys.exec_prefix}; empty heads are skipped. For
the tail part, it uses the empty string (on Macintosh or Windows) or 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 \file{lib/site-python} (on \UNIX{}). For each of the distinct
head-tail combinations, it sees if it refers to an existing directory, 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 and if so, adds to \code{sys.path}, and also inspected for path
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment