Commit ec6baaf6 authored by Fred Drake's avatar Fred Drake

Small markup nits.

parent 54f2fdd1
\section{\module{os} --- \section{\module{os} ---
Miscellaneous OS interfaces} Miscellaneous OS interfaces}
\declaremodule{standard}{os}
\declaremodule{standard}{os}
\modulesynopsis{Miscellaneous OS interfaces.} \modulesynopsis{Miscellaneous OS interfaces.}
...@@ -14,9 +14,9 @@ This module searches for an OS dependent built-in module like ...@@ -14,9 +14,9 @@ This module searches for an OS dependent built-in module like
as found there. The design of all Python's built-in OS dependent as found there. The design of all Python's built-in OS dependent
modules is such that as long as the same functionality is available, modules is such that as long as the same functionality is available,
it uses the same interface; e.g., the function it uses the same interface; e.g., the function
\code{os.stat(\var{path})} returns stat information about \var{path} \code{os.stat(\var{path})} returns stat information about \var{path} in
in the same format (which happens to have originated with the \POSIX{} the same format (which happens to have originated with the
interface). \POSIX{} interface).
Extensions peculiar to a particular OS are also available through the Extensions peculiar to a particular OS are also available through the
\module{os} module, but using them is of course a threat to \module{os} module, but using them is of course a threat to
...@@ -688,7 +688,7 @@ Availability: Windows. ...@@ -688,7 +688,7 @@ Availability: Windows.
\begin{funcdesc}{system}{command} \begin{funcdesc}{system}{command}
Execute the command (a string) in a subshell. This is implemented by Execute the command (a string) in a subshell. This is implemented by
calling the Standard C function \cfunction{system()}, and has the calling the Standard C function \cfunction{system()}, and has the
same limitations. Changes to \code{posix.environ}, \code{sys.stdin} same limitations. Changes to \code{posix.environ}, \code{sys.stdin},
etc.\ are not reflected in the environment of the executed command. etc.\ are not reflected in the environment of the executed command.
The return value is the exit status of the process encoded in the The return value is the exit status of the process encoded in the
format specified for \function{wait()}. format specified for \function{wait()}.
...@@ -700,9 +700,9 @@ Return a 5-tuple of floating point numbers indicating accumulated (CPU ...@@ -700,9 +700,9 @@ Return a 5-tuple of floating point numbers indicating accumulated (CPU
or other) or other)
times, in seconds. The items are: user time, system time, children's times, in seconds. The items are: user time, system time, children's
user time, children's system time, and elapsed real time since a fixed user time, children's system time, and elapsed real time since a fixed
point in the past, in that order. See the \UNIX{} point in the past, in that order. See the \UNIX{} manual page
manual page \manpage{times}{2} or the corresponding Windows Platform \manpage{times}{2} or the corresponding Windows Platform API
API documentation. documentation.
Availability: \UNIX{}, Windows. Availability: \UNIX{}, Windows.
\end{funcdesc} \end{funcdesc}
...@@ -814,7 +814,7 @@ doesn't have a \code{'PATH'} key. ...@@ -814,7 +814,7 @@ doesn't have a \code{'PATH'} key.
\begin{datadesc}{linesep} \begin{datadesc}{linesep}
The string used to separate (or, rather, terminate) lines on the The string used to separate (or, rather, terminate) lines on the
current platform. This may be a single character, e.g. \code{'\e n'} current platform. This may be a single character,
for \POSIX{} or \code{'\e r'} for MacOS, or multiple characters, e.g.\ \code{'\e n'} for \POSIX{} or \code{'\e r'} for MacOS, or multiple
e.g. \code{'\e r\e n'} for MS-DOS and MS Windows. characters, e.g.\ \code{'\e r\e n'} for MS-DOS and MS Windows.
\end{datadesc} \end{datadesc}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment