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

Stephen J. Turnbull stephen at xemacs.org
Fri Jul 13 08:07:12 CEST 2007


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".



More information about the Python-Dev mailing list