[Python-checkins]
python/dist/src/Doc/lib libsubprocess.tex, 1.2.2.1, 1.2.2.2
doerwalter at users.sourceforge.net
doerwalter at users.sourceforge.net
Thu Apr 14 22:23:41 CEST 2005
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17800/Doc/lib
Modified Files:
Tag: release24-maint
libsubprocess.tex
Log Message:
Backport relevant part of checkin:
SF patch #1180062 by George Yoshida:
(Doc/lib/libfunctional.tex: "in an new object" should read "in a new object")
Doc/lib/libsubprocess.tex: argument name is wrong; comma is missing
Index: libsubprocess.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsubprocess.tex,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -u -d -r1.2.2.1 -r1.2.2.2
--- libsubprocess.tex 30 Nov 2004 18:11:36 -0000 1.2.2.1
+++ libsubprocess.tex 14 Apr 2005 20:23:39 -0000 1.2.2.2
@@ -173,7 +173,7 @@
\begin{methoddesc}{communicate}{input=None}
Interact with process: Send data to stdin. Read data from stdout and
stderr, until end-of-file is reached. Wait for process to terminate.
-The optional \var{stdin} argument should be a string to be sent to the
+The optional \var{input} argument should be a string to be sent to the
child process, or \code{None}, if no data should be sent to the child.
communicate() returns a tuple (stdout, stderr).
@@ -358,7 +358,7 @@
\begin{verbatim}
(child_stdout, child_stdin) = popen2.popen2("somestring", bufsize, mode)
==>
-p = Popen(["somestring"], shell=True, bufsize=bufsize
+p = Popen(["somestring"], shell=True, bufsize=bufsize,
stdin=PIPE, stdout=PIPE, close_fds=True)
(child_stdout, child_stdin) = (p.stdout, p.stdin)
\end{verbatim}
More information about the Python-checkins
mailing list