How to break out of two nested for loops?

Justin Sheehy justin at iago.org
Thu Jan 24 10:09:19 EST 2002


Paul Prescod <paul at prescod.net> writes:

>> The for-loop construct in Python uses exceptions for termination.  Doing
>> so by hand is clearly in line with language idiom.
>
> Python's implementation also makes use of "goto" quite a bit.

I was referring to the language as exposed to the programmer, not
to intepreter internals.  I believe that this was clear from the
context around this quoted snippet.

-Justin

 





More information about the Python-list mailing list