summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-04-12 02:39:13 (GMT)
committerFred Drake <fdrake@acm.org>1998-04-12 02:39:13 (GMT)
commitc94d9348ca6b186d6bb76ba9286dad3ca90e6ba5 (patch)
treee39de7dcd7feca0e4232b6734002b57e0e02b9e0 /Doc/api
parent1072e4626397314b074a3bab8646bb132c215df0 (diff)
downloadcpython-c94d9348ca6b186d6bb76ba9286dad3ca90e6ba5.zip
cpython-c94d9348ca6b186d6bb76ba9286dad3ca90e6ba5.tar.gz
cpython-c94d9348ca6b186d6bb76ba9286dad3ca90e6ba5.tar.bz2
In descriptions of Py_GetPrefix() and Py_GetExecPrefix(), make sure the
"--" at the start of the configure options isn't collapsed to "-" when the HTML is generated.
Diffstat (limited to 'Doc/api')
-rw-r--r--Doc/api/api.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/api/api.tex b/Doc/api/api.tex
index 5b87fd6..ad54ec7 100644
--- a/Doc/api/api.tex
+++ b/Doc/api/api.tex
@@ -2390,8 +2390,8 @@ set with \cfunction{Py_SetProgramName()} and some environment variables;
for example, if the program name is \code{"/usr/local/bin/python"},
the prefix is \code{"/usr/local"}. The returned string points into
static storage; the caller should not modify its value. This
-corresponds to the \code{prefix} variable in the top-level
-\file{Makefile} and the \code{--prefix} argument to the
+corresponds to the \makevar{prefix} variable in the top-level
+\file{Makefile} and the \code{-}\code{-prefix} argument to the
\program{configure} script at build time. The value is available to
Python code as \code{sys.prefix}. It is only useful on \UNIX{}. See
also the next function.
@@ -2405,9 +2405,9 @@ variables; for example, if the program name is
\code{"/usr/local/bin/python"}, the exec-prefix is
\code{"/usr/local"}. The returned string points into static storage;
the caller should not modify its value. This corresponds to the
-\code{exec_prefix} variable in the top-level \file{Makefile} and the
-\code{--exec_prefix} argument to the \program{configure} script at build
-time. The value is available to Python code as
+\makevar{exec_prefix} variable in the top-level \file{Makefile} and the
+\code{-}\code{-exec_prefix} argument to the \program{configure} script
+at build time. The value is available to Python code as
\code{sys.exec_prefix}. It is only useful on \UNIX{}.
Background: The exec-prefix differs from the prefix when platform