[Python-checkins] CVS: python/dist/src/Doc/api api.tex,1.85,1.86

Fred L. Drake python-dev@python.org
Thu, 14 Sep 2000 13:24:18 -0700


Update of /cvsroot/python/python/dist/src/Doc/api
In directory slayer.i.sourceforge.net:/tmp/cvs-serv21824/api

Modified Files:
	api.tex 
Log Message:

Use \shortversion in a number of places.
This partially addresses SourceForge bug #114318.


Index: api.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/api.tex,v
retrieving revision 1.85
retrieving revision 1.86
diff -C2 -r1.85 -r1.86
*** api.tex	2000/09/14 18:12:48	1.85
--- api.tex	2000/09/14 20:24:13	1.86
***************
*** 103,107 ****
  compiler's search path for includes.  Do \emph{not} place the parent
  directories on the search path and then use
! \samp{\#include <python\var{version}/Python.h>}; this will break on
  multi-platform builds since the platform independent headers under
  \envvar{prefix} include the platform specific headers from
--- 103,107 ----
  compiler's search path for includes.  Do \emph{not} place the parent
  directories on the search path and then use
! \samp{\#include <python\shortversion/Python.h>}; this will break on
  multi-platform builds since the platform independent headers under
  \envvar{prefix} include the platform specific headers from
***************
*** 551,562 ****
  fixed location relative to the Python interpreter executable.  In
  particular, it looks for a directory named
! \file{lib/python\var{version}} (replacing \var{version} with the current
! interpreter version) relative to the parent directory where the
! executable named \file{python} is found on the shell command search
! path (the environment variable \envvar{PATH}).
  
  For instance, if the Python executable is found in
  \file{/usr/local/bin/python}, it will assume that the libraries are in
! \file{/usr/local/lib/python\var{version}}.  (In fact, this particular path
  is also the ``fallback'' location, used when no executable file named
  \file{python} is found along \envvar{PATH}.)  The user can override
--- 551,561 ----
  fixed location relative to the Python interpreter executable.  In
  particular, it looks for a directory named
! \file{lib/python\shortversion} relative to the parent directory where
! the executable named \file{python} is found on the shell command
! search path (the environment variable \envvar{PATH}).
  
  For instance, if the Python executable is found in
  \file{/usr/local/bin/python}, it will assume that the libraries are in
! \file{/usr/local/lib/python\shortversion}.  (In fact, this particular path
  is also the ``fallback'' location, used when no executable file named
  \file{python} is found along \envvar{PATH}.)  The user can override