[Python-checkins] python/dist/src/Doc/lib libitertools.tex, 1.12.6.2, 1.12.6.3

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Sat Aug 30 16:14:47 EDT 2003


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv23105/Doc/lib

Modified Files:
      Tag: release23-maint
	libitertools.tex 
Log Message:
* Add news item for the previous bugfix
* Backport itertoolsmodule.c 1.19 to re-sync Py2.3.1 with Py2.4.



Index: libitertools.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libitertools.tex,v
retrieving revision 1.12.6.2
retrieving revision 1.12.6.3
diff -C2 -d -r1.12.6.2 -r1.12.6.3
*** libitertools.tex	25 Aug 2003 05:04:22 -0000	1.12.6.2
--- libitertools.tex	30 Aug 2003 22:14:45 -0000	1.12.6.3
***************
*** 227,234 ****
       def izip(*iterables):
           iterables = map(iter, iterables)
!          while True:
               result = [i.next() for i in iterables]
               yield tuple(result)
    \end{verbatim}
  \end{funcdesc}
  
--- 227,237 ----
       def izip(*iterables):
           iterables = map(iter, iterables)
!          while iterables:
               result = [i.next() for i in iterables]
               yield tuple(result)
    \end{verbatim}
+ 
+   \versionchanged[When no iterables are specified, returns a zero length
+                   iterator instead of raising a TypeError exception]{2.3.1}
  \end{funcdesc}
  





More information about the Python-checkins mailing list