From: Guido van Rossum Date: Thu, 19 Feb 1998 21:02:32 +0000 (+0000) Subject: Jeff Kunce writes (and he is right): X-Git-Tag: v1.5.1~645 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=505d80b39d5329f74774a2d68d5903e51098be7a;p=python 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..." ^^^^ --- diff --git a/Doc/lib/libsite.tex b/Doc/lib/libsite.tex index f5edafa930..760101a855 100644 --- a/Doc/lib/libsite.tex +++ b/Doc/lib/libsite.tex @@ -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 diff --git a/Doc/libsite.tex b/Doc/libsite.tex index f5edafa930..760101a855 100644 --- a/Doc/libsite.tex +++ b/Doc/libsite.tex @@ -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