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

Terry Reedy tjreedy at udel.edu
Fri Jul 13 08:25:55 CEST 2007


"Stephen J. Turnbull" <stephen at xemacs.org> wrote in message 
news:87odigrg4v.fsf at uwakimon.sk.tsukuba.ac.jp...
| Raymond Hettinger writes:
|
| > [Matthieu on itertools.dropwhile() docs]
|
| > > Note, the iterator does not produce any output until the
| > > predicate is true
|
| > it did return EVERY element from the first false
|
| Shouldn't the "until" in the doc be "while"?  Alternatively, "true"
| could be changed to "false".

As I understand the first sentence, yes. 





More information about the Python-Dev mailing list