Mercurial > cpython-lru_cache-weakref
diff Doc/api/api.tex @ 7923:23cc6ac5eba6 legacy-trunk
Don't assume that \version expands to the 3-character major.minor number; it
is the full release version name ("1.5.1beta1", for instance).
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Thu, 09 Apr 1998 14:12:11 +0000 |
| parents | 5d15f4fd6d69 |
| children | 3b91affa333e |
line wrap: on
line diff
--- a/Doc/api/api.tex Thu Apr 09 14:06:33 1998 +0000 +++ b/Doc/api/api.tex Thu Apr 09 14:12:11 1998 +0000 @@ -509,14 +509,14 @@ location of the standard Python interpreter executable, assuming that the Python library is found in a fixed location relative to the Python interpreter executable. In particular, it looks for a directory named -\file{lib/python\version} (replacing \file{\version} with the current +\file{lib/python1.5} (replacing \file{1.5} 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\version}. (In fact, this particular path +\file{/usr/local/lib/python1.5}. (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 this behavior by setting the environment variable \envvar{PYTHONHOME},
