[Python-checkins] r69087 - python/trunk/Modules/itertoolsmodule.c

raymond.hettinger python-checkins at python.org
Thu Jan 29 04:43:44 CET 2009


Author: raymond.hettinger
Date: Thu Jan 29 04:43:44 2009
New Revision: 69087

Log:
Fix typo.

Modified:
   python/trunk/Modules/itertoolsmodule.c

Modified: python/trunk/Modules/itertoolsmodule.c
==============================================================================
--- python/trunk/Modules/itertoolsmodule.c	(original)
+++ python/trunk/Modules/itertoolsmodule.c	Thu Jan 29 04:43:44 2009
@@ -3921,7 +3921,7 @@
 \n\
 Iterators terminating on the shortest input sequence:\n\
 chain(p, q, ...) --> p0, p1, ... plast, q0, q1, ... \n\
-combine(data, selectors) --> (d[0] if s[0]), (d[1] if s[1]), ...\n\
+compress(data, selectors) --> (d[0] if s[0]), (d[1] if s[1]), ...\n\
 dropwhile(pred, seq) --> seq[n], seq[n+1], starting when pred fails\n\
 groupby(iterable[, keyfunc]) --> sub-iterators grouped by value of keyfunc(v)\n\
 ifilter(pred, seq) --> elements of seq where pred(elem) is True\n\


More information about the Python-checkins mailing list