summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-06-11 18:26:04 (GMT)
committerFred Drake <fdrake@acm.org>2001-06-11 18:26:04 (GMT)
commitb031d453f8f3ee124328f65f63c9b887d12f15f2 (patch)
treea8318b8731a890f8e2db807bbd50a0a53c243cd5
parent26cff90fa9437e3ebfa4b2cd605440dd8e2c34aa (diff)
downloadcpython-b031d453f8f3ee124328f65f63c9b887d12f15f2.zip
cpython-b031d453f8f3ee124328f65f63c9b887d12f15f2.tar.gz
cpython-b031d453f8f3ee124328f65f63c9b887d12f15f2.tar.bz2
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.
-rw-r--r--Doc/lib/libos.tex11
1 files changed, 7 insertions, 4 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index 90c5f08..f211f99 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -317,18 +317,21 @@ for \var{mode} is \code{'t'}.
\begin{funcdesc}{popen2}{cmd\optional{, mode\optional{, bufsize}}}
Executes \var{cmd} as a sub-process. Returns the file objects
\code{(\var{child_stdin}, \var{child_stdout})}.
+Availability: \UNIX{}, Windows.
\versionadded{2.0}
\end{funcdesc}
\begin{funcdesc}{popen3}{cmd\optional{, mode\optional{, bufsize}}}
Executes \var{cmd} as a sub-process. Returns the file objects
\code{(\var{child_stdin}, \var{child_stdout}, \var{child_stderr})}.
+Availability: \UNIX{}, Windows.
\versionadded{2.0}
\end{funcdesc}
\begin{funcdesc}{popen4}{cmd\optional{, mode\optional{, bufsize}}}
Executes \var{cmd} as a sub-process. Returns the file objects
\code{(\var{child_stdin}, \var{child_stdout_and_stderr})}.
+Availability: \UNIX{}, Windows.
\versionadded{2.0}
\end{funcdesc}
@@ -944,7 +947,7 @@ the Visual \Cpp{} Runtime Library documentation for further
information; the constants are exposed to the Python programmer as
listed below.
Availability: \UNIX{}, Windows.
-\versionadded{1.5.2}
+\versionadded{1.6}
\end{funcdesc}
\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
constants are exposed to the Python programmer as listed below.
Availability: \UNIX{}, Windows.
-\versionadded{1.5.2}
+\versionadded{1.6}
\end{funcdesc}
\begin{datadesc}{P_WAIT}
@@ -964,7 +967,7 @@ Availability: \UNIX{}, Windows.
Possible values for the \var{mode} parameter to \function{spawnv()}
and \function{spawnve()}.
Availability: \UNIX{}, Windows.
-\versionadded{1.5.2}
+\versionadded{1.6}
\end{datadesc}
\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
above.
Availability: Windows.
-\versionadded{1.5.2}
+\versionadded{1.6}
\end{datadesc}
\begin{funcdesc}{startfile}{path}