[issue9944] Typo in doc for itertools recipe of consume

2010-09-25 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r85008. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue9944] Typo in doc for itertools recipe of consume

2010-09-24 Thread Jon Clements
New submission from Jon Clements : Very low priority. 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 zero-length deque c