mirror of https://github.com/python/cpython.git
Add the appropriate availability annotations for the popen*() family of
functions -- these are not available on traditional Mac OS platforms. Corrected the version annotations for the spawn*() functions and related constants; these were added in Python 1.6, not 1.5.2.
This commit is contained in:
parent
2d4e077f23
commit
0b9bc20e66
|
@ -317,18 +317,21 @@ for \var{mode} is \code{'t'}.
|
||||||
\begin{funcdesc}{popen2}{cmd\optional{, mode\optional{, bufsize}}}
|
\begin{funcdesc}{popen2}{cmd\optional{, mode\optional{, bufsize}}}
|
||||||
Executes \var{cmd} as a sub-process. Returns the file objects
|
Executes \var{cmd} as a sub-process. Returns the file objects
|
||||||
\code{(\var{child_stdin}, \var{child_stdout})}.
|
\code{(\var{child_stdin}, \var{child_stdout})}.
|
||||||
|
Availability: \UNIX{}, Windows.
|
||||||
\versionadded{2.0}
|
\versionadded{2.0}
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{popen3}{cmd\optional{, mode\optional{, bufsize}}}
|
\begin{funcdesc}{popen3}{cmd\optional{, mode\optional{, bufsize}}}
|
||||||
Executes \var{cmd} as a sub-process. Returns the file objects
|
Executes \var{cmd} as a sub-process. Returns the file objects
|
||||||
\code{(\var{child_stdin}, \var{child_stdout}, \var{child_stderr})}.
|
\code{(\var{child_stdin}, \var{child_stdout}, \var{child_stderr})}.
|
||||||
|
Availability: \UNIX{}, Windows.
|
||||||
\versionadded{2.0}
|
\versionadded{2.0}
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{popen4}{cmd\optional{, mode\optional{, bufsize}}}
|
\begin{funcdesc}{popen4}{cmd\optional{, mode\optional{, bufsize}}}
|
||||||
Executes \var{cmd} as a sub-process. Returns the file objects
|
Executes \var{cmd} as a sub-process. Returns the file objects
|
||||||
\code{(\var{child_stdin}, \var{child_stdout_and_stderr})}.
|
\code{(\var{child_stdin}, \var{child_stdout_and_stderr})}.
|
||||||
|
Availability: \UNIX{}, Windows.
|
||||||
\versionadded{2.0}
|
\versionadded{2.0}
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
@ -944,7 +947,7 @@ the Visual \Cpp{} Runtime Library documentation for further
|
||||||
information; the constants are exposed to the Python programmer as
|
information; the constants are exposed to the Python programmer as
|
||||||
listed below.
|
listed below.
|
||||||
Availability: \UNIX{}, Windows.
|
Availability: \UNIX{}, Windows.
|
||||||
\versionadded{1.5.2}
|
\versionadded{1.6}
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{spawnve}{mode, path, args, env}
|
\begin{funcdesc}{spawnve}{mode, path, args, env}
|
||||||
|
@ -955,7 +958,7 @@ a tuple. \var{mode} is a magic operational constant. See the Visual
|
||||||
\Cpp{} Runtime Library documentation for further information; the
|
\Cpp{} Runtime Library documentation for further information; the
|
||||||
constants are exposed to the Python programmer as listed below.
|
constants are exposed to the Python programmer as listed below.
|
||||||
Availability: \UNIX{}, Windows.
|
Availability: \UNIX{}, Windows.
|
||||||
\versionadded{1.5.2}
|
\versionadded{1.6}
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{datadesc}{P_WAIT}
|
\begin{datadesc}{P_WAIT}
|
||||||
|
@ -964,7 +967,7 @@ Availability: \UNIX{}, Windows.
|
||||||
Possible values for the \var{mode} parameter to \function{spawnv()}
|
Possible values for the \var{mode} parameter to \function{spawnv()}
|
||||||
and \function{spawnve()}.
|
and \function{spawnve()}.
|
||||||
Availability: \UNIX{}, Windows.
|
Availability: \UNIX{}, Windows.
|
||||||
\versionadded{1.5.2}
|
\versionadded{1.6}
|
||||||
\end{datadesc}
|
\end{datadesc}
|
||||||
|
|
||||||
\begin{datadesc}{P_OVERLAY}
|
\begin{datadesc}{P_OVERLAY}
|
||||||
|
@ -973,7 +976,7 @@ Possible values for the \var{mode} parameter to \function{spawnv()}
|
||||||
and \function{spawnve()}. These are less portable than those listed
|
and \function{spawnve()}. These are less portable than those listed
|
||||||
above.
|
above.
|
||||||
Availability: Windows.
|
Availability: Windows.
|
||||||
\versionadded{1.5.2}
|
\versionadded{1.6}
|
||||||
\end{datadesc}
|
\end{datadesc}
|
||||||
|
|
||||||
\begin{funcdesc}{startfile}{path}
|
\begin{funcdesc}{startfile}{path}
|
||||||
|
|
Loading…
Reference in New Issue