[Python-checkins] python/dist/src/Doc/lib libfunctional.tex, 1.3,
1.4 libsubprocess.tex, 1.5, 1.6
doerwalter at users.sourceforge.net
doerwalter at users.sourceforge.net
Thu Apr 14 22:09:04 CEST 2005
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10510/Doc/lib
Modified Files:
libfunctional.tex libsubprocess.tex
Log Message:
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: libfunctional.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfunctional.tex,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- libfunctional.tex 8 Mar 2005 07:15:36 -0000 1.3
+++ libfunctional.tex 14 Apr 2005 20:09:00 -0000 1.4
@@ -38,7 +38,7 @@
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: libsubprocess.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsubprocess.tex,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- libsubprocess.tex 1 Jan 2005 09:36:35 -0000 1.5
+++ libsubprocess.tex 14 Apr 2005 20:09:00 -0000 1.6
@@ -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}
More information about the Python-checkins
mailing list