diff options
author | Walter Dörwald <walter@livinglogic.de> | 2005-04-14 20:08:59 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2005-04-14 20:08:59 (GMT) |
commit | 769f8219a4e99c753c753962519f502fbd91fc84 (patch) | |
tree | 05fa9e61b8af463580ded8d6ec96c683430a04ca /Doc/lib/libsubprocess.tex | |
parent | 8ec676e9fa9757f797e0c76247d34ea215cd98f4 (diff) | |
download | cpython-769f8219a4e99c753c753962519f502fbd91fc84.zip cpython-769f8219a4e99c753c753962519f502fbd91fc84.tar.gz cpython-769f8219a4e99c753c753962519f502fbd91fc84.tar.bz2 |
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.
Diffstat (limited to 'Doc/lib/libsubprocess.tex')
-rw-r--r-- | Doc/lib/libsubprocess.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libsubprocess.tex b/Doc/lib/libsubprocess.tex index 5a2a835..81b48bc 100644 --- a/Doc/lib/libsubprocess.tex +++ b/Doc/lib/libsubprocess.tex @@ -189,7 +189,7 @@ Wait for child process to terminate. Returns returncode attribute. \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 @@ executed.} \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} |