mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Reflow paragraph to work around LaTeX2HTML dropping a space.
Make all references to the os module hyperlinks.
This commit is contained in:
parent
6d20caa2ce
commit
2799f9d09a
1 changed files with 6 additions and 6 deletions
|
@ -4,7 +4,7 @@
|
||||||
\declaremodule{builtin}{posix}
|
\declaremodule{builtin}{posix}
|
||||||
\platform{Unix}
|
\platform{Unix}
|
||||||
\modulesynopsis{The most common \POSIX{} system calls (normally used
|
\modulesynopsis{The most common \POSIX{} system calls (normally used
|
||||||
via module \module{os}).}
|
via module \module{os}).}
|
||||||
|
|
||||||
|
|
||||||
This module provides access to operating system functionality that is
|
This module provides access to operating system functionality that is
|
||||||
|
@ -13,12 +13,12 @@ disguised \UNIX{} interface).
|
||||||
|
|
||||||
\strong{Do not import this module directly.} Instead, import the
|
\strong{Do not import this module directly.} Instead, import the
|
||||||
module \refmodule{os}, which provides a \emph{portable} version of this
|
module \refmodule{os}, which provides a \emph{portable} version of this
|
||||||
interface. On \UNIX{}, the \module{os} module provides a superset of
|
interface. On \UNIX{}, the \refmodule{os} module provides a superset of
|
||||||
the \module{posix} interface. On non-\UNIX{} operating systems the
|
the \module{posix} interface. On non-\UNIX{} operating systems the
|
||||||
\module{posix} module is not available, but a subset is always
|
\module{posix} module is not available, but a subset is always
|
||||||
available through the \module{os} interface. Once \module{os} is
|
available through the \refmodule{os} interface. Once \refmodule{os} is
|
||||||
imported, there is \emph{no} performance penalty in using it instead
|
imported, there is \emph{no} performance penalty in using it instead
|
||||||
of \module{posix}. In addition, \module{os}\refstmodindex{os}
|
of \module{posix}. In addition, \refmodule{os}\refstmodindex{os}
|
||||||
provides some additional functionality, such as automatically calling
|
provides some additional functionality, such as automatically calling
|
||||||
\function{putenv()} when an entry in \code{os.environ} is changed.
|
\function{putenv()} when an entry in \code{os.environ} is changed.
|
||||||
|
|
||||||
|
@ -68,8 +68,8 @@ Module \module{posix} defines the following data item:
|
||||||
\begin{datadesc}{environ}
|
\begin{datadesc}{environ}
|
||||||
A dictionary representing the string environment at the time the
|
A dictionary representing the string environment at the time the
|
||||||
interpreter was started. For example, \code{environ['HOME']} is the
|
interpreter was started. For example, \code{environ['HOME']} is the
|
||||||
pathname of your home directory, equivalent to \code{getenv("HOME")}
|
pathname of your home directory, equivalent to
|
||||||
in C.
|
\code{getenv("HOME")} in C.
|
||||||
|
|
||||||
Modifying this dictionary does not affect the string environment
|
Modifying this dictionary does not affect the string environment
|
||||||
passed on by \function{execv()}, \function{popen()} or
|
passed on by \function{execv()}, \function{popen()} or
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue