Sequence-length - Missing the obvious ?
Aahz Maruch
aahz at netcom.com
Sat Jun 3 10:49:32 EDT 2000
In article <m3d7lzyvir.fsf at atrus.jesus.cam.ac.uk>,
Michael Hudson <mwh21 at cam.ac.uk> wrote:
>aahz at netcom.com (Aahz Maruch) writes:
>>
>> Let's be technically precise here: an exception is raised and caught by
>> the "for" handler; the for loop is then broken (precisely as if the
>> break statement was executed). Like any other caught exception, the
>> exception is thrown away (not "error is cleared").
>
>Not quite "precisely as if the break statement was executed", wrt else
>blocks.
Oh, right, forgot about that. I never use else blocks for loops.
--
--- Aahz (Copyright 2000 by aahz at netcom.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
Have you coined a word today? --Aahz
More information about the Python-list
mailing list