]> granicus.if.org Git - python/commitdiff
SF patch #1180062 by George Yoshida:
authorWalter Dörwald <walter@livinglogic.de>
Thu, 14 Apr 2005 20:08:59 +0000 (20:08 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Thu, 14 Apr 2005 20:08:59 +0000 (20:08 +0000)
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.

Doc/lib/libfunctional.tex
Doc/lib/libsubprocess.tex

index 86b148305041342496866f0f2bd84c0d2c813257..367eeefbea27347d9a2fc213dd219ee148a640cb 100644 (file)
@@ -38,7 +38,7 @@ they extend and override \var{keywords}. Roughly equivalent to:
 
 The \function{partial} is used for partial function application which
 ``freezes'' some portion of a function's arguments and/or keywords
-resulting in an new object with a simplified signature.  For example,
+resulting in a new object with a simplified signature.  For example,
 \function{partial} can be used to create a callable that behaves like
 the \function{int} function where the \var{base} argument defaults to
 two:
index 5a2a835f1e69253af9f3f0f1e1da466344c09312..81b48bcaca6f16d5d04252b5278453690c728a07 100644 (file)
@@ -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}