[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A Problem with Python's 'yield'
At 11:15 AM -0400 5/27/03, Eric Kidd wrote:
>We can shorten the code--and make it run in O(N) time--by adding a new
>keyword to replace the "for v in ...: yield v" pattern:
Color me confused here, but are you proposing to yield out of
multiple levels of the call at once, or to yield multiple values at
once, or to yield multiple values but store them up and parcel them
out one per call?
--
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
dan@sidhe.org have teddy bears and even
teddy bears get drunk