Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 505d80b

Browse files
committed
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..." ^^^^
1 parent ef14622 commit 505d80b

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/lib/libsite.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ \section{Standard Module \sectcode{site}}
3737
For example, suppose \code{sys.prefix} and \code{sys.exec_prefix} are
3838
set to \file{/usr/local}. The Python \version\ library is then
3939
installed in \file{/usr/local/lib/python\version}. Suppose this has a
40-
subdirectory \file{/usr/local/python\version/site-packages} with three
40+
subdirectory \file{/usr/local/lib/python\version/site-packages} with three
4141
subsubdirectories, \file{foo}, \file{bar} and \file{spam}, and two
4242
path configuration files, \file{foo.pth} and \file{bar.pth}. Assume
4343
\file{foo.pth} contains the following:
@@ -62,8 +62,8 @@ \section{Standard Module \sectcode{site}}
6262
order:
6363

6464
\begin{verbatim}
65-
/usr/local/python1.5/site-packages/bar
66-
/usr/local/python1.5/site-packages/foo
65+
/usr/local/lib/python1.5/site-packages/bar
66+
/usr/local/lib/python1.5/site-packages/foo
6767
\end{verbatim}
6868

6969
Note that \file{bletch} is omitted because it doesn't exist; the

Doc/libsite.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ \section{Standard Module \sectcode{site}}
3737
For example, suppose \code{sys.prefix} and \code{sys.exec_prefix} are
3838
set to \file{/usr/local}. The Python \version\ library is then
3939
installed in \file{/usr/local/lib/python\version}. Suppose this has a
40-
subdirectory \file{/usr/local/python\version/site-packages} with three
40+
subdirectory \file{/usr/local/lib/python\version/site-packages} with three
4141
subsubdirectories, \file{foo}, \file{bar} and \file{spam}, and two
4242
path configuration files, \file{foo.pth} and \file{bar.pth}. Assume
4343
\file{foo.pth} contains the following:
@@ -62,8 +62,8 @@ \section{Standard Module \sectcode{site}}
6262
order:
6363

6464
\begin{verbatim}
65-
/usr/local/python1.5/site-packages/bar
66-
/usr/local/python1.5/site-packages/foo
65+
/usr/local/lib/python1.5/site-packages/bar
66+
/usr/local/lib/python1.5/site-packages/foo
6767
\end{verbatim}
6868

6969
Note that \file{bletch} is omitted because it doesn't exist; the

0 commit comments

Comments
 (0)