From: Raymond Hettinger Date: Thu, 29 Jan 2009 03:43:44 +0000 (+0000) Subject: Fix typo. X-Git-Tag: v2.7a1~2168 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e76816b1465decb4c5cf5eba05712ef7712f35e3;p=python Fix typo. --- diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c index 3bfb4d9ed2..fac395f09c 100644 --- a/Modules/itertoolsmodule.c +++ b/Modules/itertoolsmodule.c @@ -3921,7 +3921,7 @@ repeat(elem [,n]) --> elem, elem, elem, ... endlessly or up to n times\n\ \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\