[Python-ideas] Revised**12 PEP on Yield-From

Nick Coghlan ncoghlan at gmail.com
Mon Apr 20 14:34:49 CEST 2009


Greg Ewing wrote:
> Nick Coghlan wrote:
> 
>> It is probably worth mentioning
>> explicitly that as with existing "return" statements in generators, the
>> StopIteration exception won't be seen in the generator's own frame.
> 
> I do mention that in a later section. Do you think it
> needs to be in both places?
> 

I must have just missed it in the latter section - no need to say it twice.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------



More information about the Python-ideas mailing list