diff Doc/lib/libsubprocess.tex @ 34906:fc442c2eb0cf legacy-trunk

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.
author Walter Dörwald <walter@livinglogic.de>
date Thu, 14 Apr 2005 20:08:59 +0000
parents 998fb1e1c8e9
children 6f25029de9db
line wrap: on
line diff
--- a/Doc/lib/libsubprocess.tex	Wed Apr 13 22:04:21 2005 +0000
+++ b/Doc/lib/libsubprocess.tex	Thu Apr 14 20:08:59 2005 +0000
@@ -189,7 +189,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).
@@ -374,7 +374,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}