[Python-Dev] Suggested amendment to PEP 255

Aahz Maruch aahz@rahul.net
Wed, 20 Jun 2001 06:00:08 -0700 (PDT)


Greg Ewing wrote:
> 
> I suggest dropping the "def" altogether and using:
> 
>   generator foo(args):
>     ...
>     yield x
>     ...

+2
-- 
                      --- Aahz (@pobox.com)

Hugs and backrubs -- I break Rule 6       <*>       http://www.rahul.net/aahz/
Androgynous poly kinky vanilla queer het Pythonista

I don't really mind a person having the last whine, but I do mind someone 
else having the last self-righteous whine.