How to break out of two nested for loops?
Steve Holden
sholden at holdenweb.com
Sun Jan 27 10:11:35 EST 2002
"Aahz Maruch" <aahz at panix.com> wrote in message
news:a2t4jh$h1t$1 at panix2.panix.com...
> In article <3C51F09E.4040200 at skippinet.com.au>,
> Mark Hammond <mhammond at skippinet.com.au> wrote:
> >Alex Martelli wrote:
> >> "Laura Creighton" <lac at strakt.com> wrote in message
> >> news:mailman.1011889735.22267.python-list at python.org...
> >>>
> >>>Last night I got to thinking that instead of _except_
> >>>what I would like as the keyword is _discover_
> >>
> >> Cool. Or maybe 'expect' -- a mental-typo I do make
> >> sometimes for 'except' when I am _expecting_ the
> >> _exception_ to happen...:-).
> >
> >Actually, I think "expect" is perfect, and have indeed made the same
> >typo. The exception is obviously expected by virtue of the handler.
> >
> >And an unqualified handler could use
> >
> > expect the unexpected:
>
> Naw. For Python, that should be
>
> expect the Spanish Inquisition:
No, that *can't* be right. *Nobody* expects the Spanish Inquisiton.
regards
Steve
--
Consulting, training, speaking: http://www.holdenweb.com/
Python Web Programming: http://pydish.holdenweb.com/pwp/
More information about the Python-list
mailing list