Controlling a generator the pythonic way

Delaney, Timothy C (Timothy) tdelaney at
Mon Jun 13 01:36:58 CEST 2005

Thomas Lotze wrote:

> call. The picture might fit better (IMO) if it didn't look so much
> like working around the fact that the next() call can't take
> parameters for some technical reason. 

You might want to take a look at PEP 342
<>. Doesn't help you now, but it
will in the future.

Tim Delaney

More information about the Python-list mailing list