PEP 255: Simple Generators

Neil Schemenauer nas at python.ca
Mon Jun 18 21:23:45 EDT 2001


I wrote:
>     def f1(n):
>         for i in range(n):
>             yeild i
---------------^^

Yes, that is the way the keyword will be spelled.  That's what
Jeremy gets for not allowing me to use "suspend". :-)

  Neil




More information about the Python-list mailing list