[Python-Dev] PEP Idea: Syntactic sugar for StopIteration.

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Dec 9 00:30:45 CET 2007

Terry Reedy wrote:
> I would prefer plain 'yield' to 'yield break' as a synonym for 'raise 
> StopIteration'.

Don't we already have a plain yield these days meaning
something else?


More information about the Python-Dev mailing list