[Python-Dev] Typo in itertools.dropwhile()

Matthieu Brucher matthieu.brucher at gmail.com
Thu Jul 12 22:00:37 CEST 2007


Hi,

There seems to be a typo in the doc of itertools.dropwhile() :

Make an iterator that drops elements from the iterable as long as the
predicate is true; afterwards, returns every element. Note, the iterator
does not produce *any* output until the predicate is true, so it may have a
lengthy start-up time.

It says something and then the opposite, so which one is true ?

Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20070712/f70b3f95/attachment.htm 


More information about the Python-Dev mailing list