Thank you very much !
Matthieu
2007/7/13, Raymond Hettinger <[EMAIL PROTECTED]>:
[Stephen J. Turnbull]
> Shouldn't the "until" in the doc be "while"? Alternatively, "true"
> could be changed to "false".
Yes. I'll make the change.
Raymond
___
Py
[Stephen J. Turnbull]
> Shouldn't the "until" in the doc be "while"? Alternatively, "true"
> could be changed to "false".
Yes. I'll make the change.
Raymond
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/pyt
Actually, I think it *is* a typo: the last part should read that no
output is produced until the predicate becomes *false*.
- C
On 7/13/07, Raymond Hettinger <[EMAIL PROTECTED]> wrote:
>
> [Matthieu on itertools.dropwhile() docs]
> > Make an iterator that drops elements from the iterable as lon
"Stephen J. Turnbull" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| 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 fa
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
2007/7/13, Raymond Hettinger <[EMAIL PROTECTED]>:
[Matthieu on itertools.dropwhile() docs]
> 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,
[Matthieu on itertools.dropwhile() docs]
> 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
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 st