Mercurial > cpython-lru_cache-weakref
diff Modules/itertoolsmodule.c @ 85632:fa1fa88b685b
Issue 18752: Make chain.from_iterable() more visible in the documentation.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Mon, 09 Sep 2013 01:29:40 -0500 |
| parents | 4bbaa3d7bcbf |
| children | 900bf633b7f4 |
line wrap: on
line diff
--- a/Modules/itertoolsmodule.c Sun Sep 08 18:44:40 2013 -0500 +++ b/Modules/itertoolsmodule.c Mon Sep 09 01:29:40 2013 -0500 @@ -4,7 +4,7 @@ /* Itertools module written and maintained by Raymond D. Hettinger <python@rcn.com> - Copyright (c) 2003 Python Software Foundation. + Copyright (c) 2003-2013 Python Software Foundation. All rights reserved. */ @@ -4456,6 +4456,7 @@ Iterators terminating on the shortest input sequence:\n\ accumulate(p[, func]) --> p0, p0+p1, p0+p1+p2\n\ chain(p, q, ...) --> p0, p1, ... plast, q0, q1, ... \n\ +chain.from_iterable([p, q, ...]) --> p0, p1, ... plast, q0, q1, ... \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\
