From: Fred Drake Date: Thu, 27 May 1999 17:50:59 +0000 (+0000) Subject: Document the "pid" attribute of the Popen3 class. X-Git-Tag: v1.6a1~1323 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3aa70d63b92fd09cf82f29b9016a6866256da1ed;p=python Document the "pid" attribute of the Popen3 class. Use memberdesc instead of datadesc to document object attributes. This gets the index right. --- diff --git a/Doc/lib/libpopen2.tex b/Doc/lib/libpopen2.tex index fd511e5b96..08da91012d 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}