summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libpopen2.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-05-27 17:50:59 (GMT)
committerFred Drake <fdrake@acm.org>1999-05-27 17:50:59 (GMT)
commit3aa70d63b92fd09cf82f29b9016a6866256da1ed (patch)
tree3957ce37c86e6b1882085e8a5b2a422f7dffc182 /Doc/lib/libpopen2.tex
parenta7ce52b03a6bc72a2e73a8f3a88b98d860caf954 (diff)
downloadcpython-3aa70d63b92fd09cf82f29b9016a6866256da1ed.zip
cpython-3aa70d63b92fd09cf82f29b9016a6866256da1ed.tar.gz
cpython-3aa70d63b92fd09cf82f29b9016a6866256da1ed.tar.bz2
Document the "pid" attribute of the Popen3 class.
Use memberdesc instead of datadesc to document object attributes. This gets the index right.
Diffstat (limited to 'Doc/lib/libpopen2.tex')
-rw-r--r--Doc/lib/libpopen2.tex21
1 files changed, 12 insertions, 9 deletions
diff --git a/Doc/lib/libpopen2.tex b/Doc/lib/libpopen2.tex
index fd511e5..08da910 100644
--- a/Doc/lib/libpopen2.tex
+++ b/Doc/lib/libpopen2.tex
@@ -1,5 +1,5 @@
\section{\module{popen2} ---
- Subprocesses with accessible standard I/O streams}
+ Subprocesses with accessible I/O streams}
\declaremodule{standard}{popen2}
\platform{Unix, Windows}
@@ -41,8 +41,7 @@ specifies the size of the I/O buffers to/from the child process.
\end{classdesc}
-\subsection{Popen3 Objects}
-\label{popen3-objects}
+\subsection{Popen3 Objects \label{popen3-objects}}
Instances of the \class{Popen3} class have the following methods:
@@ -58,15 +57,19 @@ Waits for and returns the return code of the child process.
The following attributes of \class{Popen3} objects are also available:
-\begin{datadesc}{fromchild}
+\begin{memberdesc}{fromchild}
A file object that provides output from the child process.
-\end{datadesc}
+\end{memberdesc}
-\begin{datadesc}{tochild}
+\begin{memberdesc}{tochild}
A file object that provides input to the child process.
-\end{datadesc}
+\end{memberdesc}
-\begin{datadesc}{childerr}
+\begin{memberdesc}{childerr}
Where the standard error from the child process goes is
\var{capturestderr} was true for the constructor, or \code{None}.
-\end{datadesc}
+\end{memberdesc}
+
+\begin{memberdesc}{pid}
+The process ID of the child process.
+\end{memberdesc}