]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
In descriptions of Py_GetPrefix() and Py_GetExecPrefix(), make sure the
authorFred Drake <fdrake@acm.org>
Sun, 12 Apr 1998 02:39:13 +0000 (02:39 +0000)
committerFred Drake <fdrake@acm.org>
Sun, 12 Apr 1998 02:39:13 +0000 (02:39 +0000)
"--" at the start of the configure options isn't collapsed to "-" when the
HTML is generated.

Doc/api.tex
Doc/api/api.tex

index 5b87fd6ed9e66034babe5996912da617ba3d39b5..ad54ec7e3f183783321ce0c607d004df7dbeac3c 100644 (file)
@@ -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 
index 5b87fd6ed9e66034babe5996912da617ba3d39b5..ad54ec7e3f183783321ce0c607d004df7dbeac3c 100644 (file)
@@ -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