]> granicus.if.org Git - python/commitdiff
Use \version to get the current Python version number, where possible. This
authorFred Drake <fdrake@acm.org>
Mon, 16 Feb 1998 20:58:58 +0000 (20:58 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 16 Feb 1998 20:58:58 +0000 (20:58 +0000)
can only be done in the running text, and not in {verbatim} environments.

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

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