[Python-Dev] Chaining try statements: eltry?
Aahz
aahz at pythoncraft.com
Thu Jul 7 21:07:02 CEST 2005
On Thu, Jul 07, 2005, Guido van Rossum wrote:
>
> OTOH I don't particularly like code that requires flag variables; they
> often make me squirm because the same condition (flag) is tested
> multiple times where it could be tested just once if more
> sophisticated flow control (e.g. an else clause :) was available.
That's what I use try/except for. ;-)
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
f u cn rd ths, u cn gt a gd jb n nx prgrmmng.
More information about the Python-Dev
mailing list