How to break out of two nested for loops?

Aahz Maruch aahz at panix.com
Fri Jan 25 21:34:25 EST 2002


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:
-- 
                      --- Aahz  <*>  (Copyright 2002 by aahz at pobox.com)

Hugs and backrubs -- I break Rule 6                 http://www.rahul.net/aahz/
Androgynous poly kinky vanilla queer het Pythonista   

"I support family values -- Addams family values" --www.nancybuttons.com



More information about the Python-list mailing list