multi-level break
Magnus L. Hetland
mlh at idt.ntnu.no
Mon Oct 18 10:47:13 EDT 1999
"Gordon McMillan" <gmcm at hypernet.com> writes:
> Toby Kelsey wrote:
>
> > At the moment I am setting and checking flag variables to emulate
> > this, which I find tedious and ugly. Am I missing a better
> > idiom?
>
> Some people abuse exceptions for this.
In some cases you could also abuse (or use) "return"...
--
Magnus Echelon jamming noise:
Lie FBI CIA NSA Handgun Assault Bomb Drug Terrorism
Hetland Special Forces Delta Force AK47 Hillary Clinton
More information about the Python-list
mailing list