summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-01-29 03:43:44 +0000
committerRaymond Hettinger <python@rcn.com>2009-01-29 03:43:44 +0000
commite76816b1465decb4c5cf5eba05712ef7712f35e3 (patch)
treeb900a1c0ec5fc946712840acc252bd8d3a87466a
parent36d816b0abb9573e90b9964f7f878661a81801bb (diff)
downloadcpython-git-e76816b1465decb4c5cf5eba05712ef7712f35e3.tar.gz
Fix typo.
-rw-r--r--Modules/itertoolsmodule.c2
1 files changed, 1 insertions, 1 deletions
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\