Neil Girdhar added the comment:
Ah, good point.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24624
___
___
Python-bugs-list mailing list
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - not a bug
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24624
___
New submission from Neil Girdhar:
In the description of the consume recipe:
def consume(iterator, n):
Advance the iterator n-steps ahead. If n is none, consume entirely.
# Use functions that consume iterators at C speed.
if n is None:
# feed the entire iterator into a
Steven D'Aprano added the comment:
On Mon, Jul 13, 2015 at 01:37:26AM +, Neil Girdhar wrote:
New submission from Neil Girdhar:
In the description of the consume recipe:
[...]
iterator should be replaced with iterable. This function accepts strings for
example, which are not