?

urikaluzhny ukaluzhny at nds.com
Thu May 15 04:17:33 EDT 2008


On May 15, 10:06 am, "Terry Reedy" <tjre... at udel.edu> wrote:
> "urikaluzhny" <ukaluz... at nds.com> wrote in message
>
> news:f8229614-a000-450e-85eb-825e6c1386cf at w7g2000hsa.googlegroups.com...
> | It seems that I rather frequently need a list or iterator of the form
> | [x for x in <> while <>]
>
> I can think of two ways to interpret that.
I mean like [x for x in <A> if <B>], only that it breaks the loop when
the expression <B> is false.



More information about the Python-list mailing list