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

2007-07-13 Thread Matthieu Brucher
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

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

2007-07-13 Thread Raymond Hettinger
[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

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

2007-07-13 Thread Chris Monson
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

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

2007-07-12 Thread Terry Reedy
"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

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

2007-07-12 Thread Stephen J. Turnbull
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

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

2007-07-12 Thread Matthieu Brucher
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,

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

2007-07-12 Thread Raymond Hettinger
[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

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

2007-07-12 Thread Matthieu Brucher
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