[Python-ideas] Extended "break" "continue" in "for ... in" block.

Steven D'Aprano steve at pearwood.info
Thu May 24 13:26:25 CEST 2012


海韵 wrote:
> Hi all...
> i'd like to propose a syntax extend of "break" and  "continue"
> to let them work together with "yield".

Can you give an example of how you would use them, and why?



-- 
Steven



More information about the Python-ideas mailing list