Opposite of yield?
Bengt Richter
bokr at oz.net
Wed Sep 10 18:07:07 EDT 2003
On Wed, 10 Sep 2003 14:39:14 -0700, achrist at easystreet.com wrote:
>Erik Max Francis wrote:
>>
>>
>> Yep:
>>
>> generator.next()
>>
>
>This style supports only output-driven processes. The generator,
>being on the input side, is always the server, and the output
>side is always the client. It doesn't fit the situation where the
>input is heterogeneous and input has to get spewed in several
>directions, depending on its content.
>
>
Could you make some fantasy-code to illustrate what you mean?
Regards,
Bengt Richter
More information about the Python-list
mailing list