1.5.2 for: else:

Patrick Phalen pphalen at teleo.net
Fri Jul 30 11:15:40 EDT 1999


On Fri, 30 Jul 1999, Fredrik Lundh wrote:

> huh?  there's only ONE *controlling* expression in
> the loop: the internal test that checks if the
> sequence has any more items. the else clause
> is executed if and only if THAT expression eval-
> Traceback (innermost last):
>   File "effbot.py", line 12032, in effbot
>   File "effbot.py", line 3428, in generate_reply
>     raise ImpedanceMismatch # bailing out
> effbot.ImpedanceMismatch

The truth is out. "Frederick Lundh" is a bot!




More information about the Python-list mailing list