Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c94d934

Browse files
committed
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.
1 parent 1072e46 commit c94d934

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

Doc/api.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2390,8 +2390,8 @@ \chapter{Initialization, Finalization, and Threads}
23902390
for example, if the program name is \code{"/usr/local/bin/python"},
23912391
the prefix is \code{"/usr/local"}. The returned string points into
23922392
static storage; the caller should not modify its value. This
2393-
corresponds to the \code{prefix} variable in the top-level
2394-
\file{Makefile} and the \code{--prefix} argument to the
2393+
corresponds to the \makevar{prefix} variable in the top-level
2394+
\file{Makefile} and the \code{-}\code{-prefix} argument to the
23952395
\program{configure} script at build time. The value is available to
23962396
Python code as \code{sys.prefix}. It is only useful on \UNIX{}. See
23972397
also the next function.
@@ -2405,9 +2405,9 @@ \chapter{Initialization, Finalization, and Threads}
24052405
\code{"/usr/local/bin/python"}, the exec-prefix is
24062406
\code{"/usr/local"}. The returned string points into static storage;
24072407
the caller should not modify its value. This corresponds to the
2408-
\code{exec_prefix} variable in the top-level \file{Makefile} and the
2409-
\code{--exec_prefix} argument to the \program{configure} script at build
2410-
time. The value is available to Python code as
2408+
\makevar{exec_prefix} variable in the top-level \file{Makefile} and the
2409+
\code{-}\code{-exec_prefix} argument to the \program{configure} script
2410+
at build time. The value is available to Python code as
24112411
\code{sys.exec_prefix}. It is only useful on \UNIX{}.
24122412
24132413
Background: The exec-prefix differs from the prefix when platform

Doc/api/api.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2390,8 +2390,8 @@ \chapter{Initialization, Finalization, and Threads}
23902390
for example, if the program name is \code{"/usr/local/bin/python"},
23912391
the prefix is \code{"/usr/local"}. The returned string points into
23922392
static storage; the caller should not modify its value. This
2393-
corresponds to the \code{prefix} variable in the top-level
2394-
\file{Makefile} and the \code{--prefix} argument to the
2393+
corresponds to the \makevar{prefix} variable in the top-level
2394+
\file{Makefile} and the \code{-}\code{-prefix} argument to the
23952395
\program{configure} script at build time. The value is available to
23962396
Python code as \code{sys.prefix}. It is only useful on \UNIX{}. See
23972397
also the next function.
@@ -2405,9 +2405,9 @@ \chapter{Initialization, Finalization, and Threads}
24052405
\code{"/usr/local/bin/python"}, the exec-prefix is
24062406
\code{"/usr/local"}. The returned string points into static storage;
24072407
the caller should not modify its value. This corresponds to the
2408-
\code{exec_prefix} variable in the top-level \file{Makefile} and the
2409-
\code{--exec_prefix} argument to the \program{configure} script at build
2410-
time. The value is available to Python code as
2408+
\makevar{exec_prefix} variable in the top-level \file{Makefile} and the
2409+
\code{-}\code{-exec_prefix} argument to the \program{configure} script
2410+
at build time. The value is available to Python code as
24112411
\code{sys.exec_prefix}. It is only useful on \UNIX{}.
24122412
24132413
Background: The exec-prefix differs from the prefix when platform

0 commit comments

Comments
 (0)