summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-02-16 20:58:58 (GMT)
committerFred Drake <fdrake@acm.org>1998-02-16 20:58:58 (GMT)
commitb0f77d65db357ea801543f7562a534513015c848 (patch)
treec07fa5f09cacb7b7db5370fb4fc077410e150787 /Doc/lib
parent7506298dfba93ac38bd82f60e0e9b7660e8e96e8 (diff)
downloadcpython-b0f77d65db357ea801543f7562a534513015c848.zip
cpython-b0f77d65db357ea801543f7562a534513015c848.tar.gz
cpython-b0f77d65db357ea801543f7562a534513015c848.tar.bz2
Use \version to get the current Python version number, where possible. This
can only be done in the running text, and not in {verbatim} environments.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libsite.tex12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/lib/libsite.tex b/Doc/lib/libsite.tex
index ba3e23d..f5edafa 100644
--- a/Doc/lib/libsite.tex
+++ b/Doc/lib/libsite.tex
@@ -35,12 +35,12 @@ refers to a directory (rather than a file). No item is added to
\indexiii{path}{configuration}{file}
For example, suppose \code{sys.prefix} and \code{sys.exec_prefix} are
-set to \file{/usr/local}. The Python 1.5 library is then installed in
-\file{/usr/local/lib/python1.5}. Suppose this has a subdirectory
-\file{/usr/local/python1.5/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:
+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
+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:
\begin{verbatim}
# foo package configuration