Breaking Out

Sean 'Shaleh' Perry shalehperry at attbi.com
Fri Aug 23 21:23:52 CEST 2002


On Friday 23 August 2002 12:18 pm, James J. Besemer wrote:
> Sean 'Shaleh' Perry wrote:
> > On Friday 23 August 2002 12:04 pm, Simon Faulkner wrote:
> > > What is the polite way to skip to the end of a long if statement?
> >
> > 'break' is the statement you want.
>
> BZZZZZZZZIT!  Wrong.
>
> Break doesn't break an if.
>

hmm, indeed.  Sorry.  Don't know where my mind was when I typed that ....




More information about the Python-list mailing list