Zen of Python
aahz at pythoncraft.com
Mon Jan 24 14:48:05 CET 2005
In article <mailman.923.1106196903.22381.python-list at python.org>,
Tim Peters <tim.peters at gmail.com> wrote:
>> And you can break out of a containing loop from a nested loop
>> with try/raise.
>Heh heh. Yes, you can. I've never seen a real Python program that
>did, but there's nothing to stop you. What did you think the "direct"
>in "direct way" might have been intended to mean?
Actually, I like breaking out of nested "search" loops with try/except.
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"19. A language that doesn't affect the way you think about programming,
is not worth knowing." --Alan Perlis
More information about the Python-list