> > > I've been thinking about ways to explicitly place the initial yield. One > ideal is a reserved keyword sequence starting with 'yield`, such as `yield > continue` to mark the initial yield point. If a generator function does not > contain an explicit `yield continue`, then it is implicit at the start of > the function body. >
So when the generator function is executed (and before next has been called), it will run until the `yield continue` (or somesuch), instead of stopping at the start of the function body? That would be great, actually.
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

