[Python-ideas] breaking out of module execution

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Apr 26 01:42:51 CEST 2012


Steven D'Aprano wrote:
> If I recall correctly, Pascal is like that: there's no way 
> to return early from a function in Pascal.

Actually, there is -- you can 'goto' a label at the
bottom.

-- 
Greg





More information about the Python-ideas mailing list