
Oct. 28, 2011
10:58 a.m.
I'm sorry, I still don't understand what the problem here is. I didn't have any trouble making a python implementation for the wikipedia coroutine example: http://codepad.org/rEgg4GzW On Fri, Oct 28, 2011 at 12:16 PM, Mark Shannon <mark@hotpy.org> wrote:
Errata to previous email.
def co_yield(value): 'Yields (returns) value back to caller of resume() method.'
Should have been
@staticmethod
def co_yield(value): 'Yields (returns) value back to caller of resume() method.'
Cheers, Mark. ______________________________**_________________ Python-ideas mailing list Python-ideas@python.org http://mail.python.org/**mailman/listinfo/python-ideas<http://mail.python.org/mailman/listinfo/python-ideas>