]> granicus.if.org Git - python/commitdiff
Jeff Kunce writes (and he is right):
authorGuido van Rossum <guido@python.org>
Thu, 19 Feb 1998 21:02:32 +0000 (21:02 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 19 Feb 1998 21:02:32 +0000 (21:02 +0000)
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..."
          ^^^^

Doc/lib/libsite.tex
Doc/libsite.tex

index f5edafa93085b630c26610f65b5a1c95f27d5edc..760101a855271a4d1b0fce08f3ed8a08745a5699 100644 (file)
@@ -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
index f5edafa93085b630c26610f65b5a1c95f27d5edc..760101a855271a4d1b0fce08f3ed8a08745a5699 100644 (file)
@@ -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