[Python-checkins] python/dist/src/Doc/lib libfuncs.tex, 1.186, 1.187

rhettinger@users.sourceforge.net rhettinger at users.sourceforge.net
Sun Aug 21 13:58:17 CEST 2005


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10524

Modified Files:
	libfuncs.tex 
Log Message:
SF bug #1121416:  zip incorrectly and incompletely documented

sequences ==> iterables



Index: libfuncs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfuncs.tex,v
retrieving revision 1.186
retrieving revision 1.187
diff -u -d -r1.186 -r1.187
--- libfuncs.tex	3 Aug 2005 07:17:33 -0000	1.186
+++ libfuncs.tex	21 Aug 2005 11:58:06 -0000	1.187
@@ -1149,12 +1149,12 @@
         that the number of elements fit in a native C long.}
 \end{funcdesc}
 
-\begin{funcdesc}{zip}{\optional{seq1, \moreargs}}
+\begin{funcdesc}{zip}{\optional{iterable, \moreargs}}
   This function returns a list of tuples, where the \var{i}-th tuple contains
-  the \var{i}-th element from each of the argument sequences.
+  the \var{i}-th element from each of the argument sequences or iterables.
   The returned list is truncated in length to the length of
-  the shortest argument sequence.  When there are multiple argument
-  sequences which are all of the same length, \function{zip()} is
+  the shortest argument sequence.  When there are multiple arguments
+  which are all of the same length, \function{zip()} is
   similar to \function{map()} with an initial argument of \code{None}.
   With a single sequence argument, it returns a list of 1-tuples.
   With no arguments, it returns an empty list.



More information about the Python-checkins mailing list