Use the new markup as apporpriate.

This commit is contained in:
Fred Drake 1999-11-09 19:45:59 +00:00
parent 6e9ea59a43
commit 268df27c9a

View file

@ -13,8 +13,8 @@ It is always available.
The list of command line arguments passed to a Python script. The list of command line arguments passed to a Python script.
\code{argv[0]} is the script name (it is operating system \code{argv[0]} is the script name (it is operating system
dependent whether this is a full pathname or not). dependent whether this is a full pathname or not).
If the command was executed using the \samp{-c} command line option If the command was executed using the \programopt{-c} command line
to the interpreter, \code{argv[0]} is set to the string option to the interpreter, \code{argv[0]} is set to the string
\code{'-c'}. \code{'-c'}.
If no script name was passed to the Python interpreter, If no script name was passed to the Python interpreter,
\code{argv} has zero length. \code{argv} has zero length.
@ -81,16 +81,16 @@ the other two are undefined.
\end{datadesc} \end{datadesc}
\begin{datadesc}{exec_prefix} \begin{datadesc}{exec_prefix}
A string giving the site-specific A string giving the site-specific directory prefix where the
directory prefix where the platform-dependent Python files are platform-dependent Python files are installed; by default, this is
installed; by default, this is also \code{'/usr/local'}. This can be also \code{'/usr/local'}. This can be set at build time with the
set at build time with the \code{-}\code{-exec-prefix} argument to the \programopt{-}\programopt{-exec-prefix} argument to the
\program{configure} script. Specifically, all configuration files \program{configure} script. Specifically, all configuration files
(e.g. the \file{config.h} header file) are installed in the directory (e.g. the \file{config.h} header file) are installed in the directory
\code{exec_prefix + '/lib/python\var{version}/config'}, and shared library \code{exec_prefix + '/lib/python\var{version}/config'}, and shared
modules are installed in library modules are installed in \code{exec_prefix +
\code{exec_prefix + '/lib/python\var{version}/lib-dynload'}, '/lib/python\var{version}/lib-dynload'}, where \var{version} is equal
where \var{version} is equal to \code{version[:3]}. to \code{version[:3]}.
\end{datadesc} \end{datadesc}
\begin{datadesc}{executable} \begin{datadesc}{executable}
@ -194,13 +194,13 @@ components to \code{path}, for instance.
A string giving the site-specific directory prefix where the platform A string giving the site-specific directory prefix where the platform
independent Python files are installed; by default, this is the string independent Python files are installed; by default, this is the string
\code{'/usr/local'}. This can be set at build time with the \code{'/usr/local'}. This can be set at build time with the
\code{-}\code{-prefix} argument to the \program{configure} script. The main \programopt{-}\programopt{-prefix} argument to the
collection of Python library modules is installed in the directory \program{configure} script. The main collection of Python library
\code{prefix + '/lib/python\var{version}'} while the platform modules is installed in the directory \code{prefix +
independent header files (all except \file{config.h}) are stored in '/lib/python\var{version}'} while the platform independent header
\code{prefix + '/include/python\var{version}'}, files (all except \file{config.h}) are stored in \code{prefix +
where \var{version} is equal to \code{version[:3]}. '/include/python\var{version}'}, where \var{version} is equal to
\code{version[:3]}.
\end{datadesc} \end{datadesc}
\begin{datadesc}{ps1} \begin{datadesc}{ps1}