]> granicus.if.org Git - python/commitdiff
Document the "pid" attribute of the Popen3 class.
authorFred Drake <fdrake@acm.org>
Thu, 27 May 1999 17:50:59 +0000 (17:50 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 27 May 1999 17:50:59 +0000 (17:50 +0000)
Use memberdesc instead of datadesc to document object attributes.
This gets the index right.

Doc/lib/libpopen2.tex

index fd511e5b96e249f9089c92e07da611ccde2d30c8..08da91012da3ec6073066e5a84d8cfa576312380 100644 (file)
@@ -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}