File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ \section{\module{site} ---
1212\samp {import site} somewhere near the top of their code. This is no
1313longer necessary.
1414
15- This will append site-specific paths to to the module search path.
15+ This will append site-specific paths to the module search path.
1616\indexiii {module}{search}{path}
1717
1818It starts by constructing up to four directories from a head and a
1919tail part. For the head part, it uses \code {sys.prefix} and
2020\code {sys.exec_prefix}; empty heads are skipped. For
2121the tail part, it uses the empty string (on Macintosh or Windows) or
22- it uses first \file {lib/python\var {version}/site-packages} and then
22+ it uses first \file {lib/python{ \var {version} }/site-packages} and then
2323\file {lib/site-python} (on \UNIX {}). For each of the distinct
2424head-tail combinations, it sees if it refers to an existing directory,
2525and if so, adds to \code {sys.path}, and also inspected for path
You can’t perform that action at this time.
0 commit comments