Markup nits.

This commit is contained in:
Fred Drake 1998-08-06 15:18:23 +00:00
parent 56fa8a7e4b
commit 1a3c2a0ede
1 changed files with 15 additions and 15 deletions

View File

@ -44,32 +44,32 @@ more portable than \code{posixpath.split(\var{file})}.
\begin{datadesc}{curdir} \begin{datadesc}{curdir}
The constant string used by the OS to refer to the current directory, The constant string used by the OS to refer to the current directory,
e.g. \code{'.'} for \POSIX{} or \code{':'} for the Macintosh. e.g.\ \code{'.'} for \POSIX{} or \code{':'} for the Macintosh.
\end{datadesc} \end{datadesc}
\begin{datadesc}{pardir} \begin{datadesc}{pardir}
The constant string used by the OS to refer to the parent directory, The constant string used by the OS to refer to the parent directory,
e.g. \code{'..'} for \POSIX{} or \code{'::'} for the Macintosh. e.g.\ \code{'..'} for \POSIX{} or \code{'::'} for the Macintosh.
\end{datadesc} \end{datadesc}
\begin{datadesc}{sep} \begin{datadesc}{sep}
The character used by the OS to separate pathname components, The character used by the OS to separate pathname components,
e.g. \code{'/'} for \POSIX{} or \code{':'} for the Macintosh. Note that e.g.\ \character{/} for \POSIX{} or \character{:} for the Macintosh.
knowing this is not sufficient to be able to parse or concatenate Note that knowing this is not sufficient to be able to parse or
pathnames --- better use \function{os.path.split()} and concatenate pathnames --- use \function{os.path.split()} and
\function{os.path.join()}---but it is occasionally useful. \function{os.path.join()} --- but it is occasionally useful.
\end{datadesc} \end{datadesc}
\begin{datadesc}{altsep} \begin{datadesc}{altsep}
An alternative character used by the OS to separate pathname components, An alternative character used by the OS to separate pathname components,
or \code{None} if only one separator character exists. This is set to or \code{None} if only one separator character exists. This is set to
\code{'/'} on DOS/Windows systems where \code{sep} is a backslash. \character{/} on DOS/Windows systems where \code{sep} is a backslash.
\end{datadesc} \end{datadesc}
\begin{datadesc}{pathsep} \begin{datadesc}{pathsep}
The character conventionally used by the OS to separate search patch The character conventionally used by the OS to separate search patch
components (as in \code{\$PATH}), e.g.\ \code{':'} for \POSIX{} or % $ components (as in \envvar{PATH}), e.g.\ \character{:} for \POSIX{} or
\code{';'} for MS-DOS. \character{;} for MS-DOS.
\end{datadesc} \end{datadesc}
\begin{datadesc}{linesep} \begin{datadesc}{linesep}
@ -80,7 +80,7 @@ e.g. \code{'\e r\e n'} for MS-DOS.
\end{datadesc} \end{datadesc}
\begin{datadesc}{defpath} \begin{datadesc}{defpath}
The default search path used by \code{exec*p*()} if the environment The default search path used by \function{exec*p*()} if the environment
doesn't have a \code{'PATH'} key. doesn't have a \code{'PATH'} key.
\end{datadesc} \end{datadesc}
@ -118,21 +118,21 @@ you lack permissions needed to remove the leaf directory or file.
\begin{funcdesc}{execl}{path, arg0, arg1, ...} \begin{funcdesc}{execl}{path, arg0, arg1, ...}
This is equivalent to This is equivalent to
\code{execv(\var{path}, (\var{arg0}, \var{arg1}, ...))}. \samp{execv(\var{path}, (\var{arg0}, \var{arg1}, ...))}.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{execle}{path, arg0, arg1, ..., env} \begin{funcdesc}{execle}{path, arg0, arg1, ..., env}
This is equivalent to This is equivalent to
\code{execve(\var{path}, (\var{arg0}, \var{arg1}, ...), \var{env})}. \samp{execve(\var{path}, (\var{arg0}, \var{arg1}, ...), \var{env})}.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{execlp}{path, arg0, arg1, ...} \begin{funcdesc}{execlp}{path, arg0, arg1, ...}
This is equivalent to This is equivalent to
\code{execvp(\var{path}, (\var{arg0}, \var{arg1}, ...))}. \samp{execvp(\var{path}, (\var{arg0}, \var{arg1}, ...))}.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{execvp}{path, args} \begin{funcdesc}{execvp}{path, args}
This is like \code{execv(\var{path}, \var{args})} but duplicates This is like \samp{execv(\var{path}, \var{args})} but duplicates
the shell's actions in searching for an executable file in a list of the shell's actions in searching for an executable file in a list of
directories. The directory list is obtained from directories. The directory list is obtained from
\code{environ['PATH']}. \code{environ['PATH']}.
@ -143,7 +143,7 @@ This is a cross between \function{execve()} and \function{execvp()}.
The directory list is obtained from \code{\var{env}['PATH']}. The directory list is obtained from \code{\var{env}['PATH']}.
\end{funcdesc} \end{funcdesc}
(The functions \code{execv()} and \code{execve()} are not (The functions \function{execv()} and \function{execve()} are not
documented here, since they are implemented by the OS dependent documented here, since they are implemented by the OS dependent
module. If the OS dependent module doesn't define either of these, module. If the OS dependent module doesn't define either of these,
the functions that rely on it will raise an exception. They are the functions that rely on it will raise an exception. They are