mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
Jeff Kunce writes (and he is right):
Also, I just ran across a [possible] minor glitch
in the library documentation for site.py. It says:
"For example, suppose sys.prefix and
sys.exec_prefix are set to `/usr/local'. The
Python 1.5 library is then installed in
`/usr/local/lib/python1.5'. Suppose this has a
subdirectory `/usr/local/python1.5/site-packages'
with three subsubdirectories, `foo', `bar' and
`spam'..."
I think it should be:
"...Suppose this has a subdirectory
`/usr/local/lib/python1.5/site-packages' with..."
^^^^
This commit is contained in:
parent
ef146222db
commit
505d80b39d
2 changed files with 6 additions and 6 deletions
|
|
@ -37,7 +37,7 @@ refers to a directory (rather than a file). No item is added to
|
|||
For example, suppose \code{sys.prefix} and \code{sys.exec_prefix} are
|
||||
set to \file{/usr/local}. The Python \version\ library is then
|
||||
installed in \file{/usr/local/lib/python\version}. Suppose this has a
|
||||
subdirectory \file{/usr/local/python\version/site-packages} with three
|
||||
subdirectory \file{/usr/local/lib/python\version/site-packages} with three
|
||||
subsubdirectories, \file{foo}, \file{bar} and \file{spam}, and two
|
||||
path configuration files, \file{foo.pth} and \file{bar.pth}. Assume
|
||||
\file{foo.pth} contains the following:
|
||||
|
|
@ -62,8 +62,8 @@ Then the following directories are added to \code{sys.path}, in this
|
|||
order:
|
||||
|
||||
\begin{verbatim}
|
||||
/usr/local/python1.5/site-packages/bar
|
||||
/usr/local/python1.5/site-packages/foo
|
||||
/usr/local/lib/python1.5/site-packages/bar
|
||||
/usr/local/lib/python1.5/site-packages/foo
|
||||
\end{verbatim}
|
||||
|
||||
Note that \file{bletch} is omitted because it doesn't exist; the
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ refers to a directory (rather than a file). No item is added to
|
|||
For example, suppose \code{sys.prefix} and \code{sys.exec_prefix} are
|
||||
set to \file{/usr/local}. The Python \version\ library is then
|
||||
installed in \file{/usr/local/lib/python\version}. Suppose this has a
|
||||
subdirectory \file{/usr/local/python\version/site-packages} with three
|
||||
subdirectory \file{/usr/local/lib/python\version/site-packages} with three
|
||||
subsubdirectories, \file{foo}, \file{bar} and \file{spam}, and two
|
||||
path configuration files, \file{foo.pth} and \file{bar.pth}. Assume
|
||||
\file{foo.pth} contains the following:
|
||||
|
|
@ -62,8 +62,8 @@ Then the following directories are added to \code{sys.path}, in this
|
|||
order:
|
||||
|
||||
\begin{verbatim}
|
||||
/usr/local/python1.5/site-packages/bar
|
||||
/usr/local/python1.5/site-packages/foo
|
||||
/usr/local/lib/python1.5/site-packages/bar
|
||||
/usr/local/lib/python1.5/site-packages/foo
|
||||
\end{verbatim}
|
||||
|
||||
Note that \file{bletch} is omitted because it doesn't exist; the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue