for what are for/while else clauses

Fredrik Lundh fredrik at pythonware.com
Sun Nov 16 15:34:41 EST 2003


Alex Martelli wrote:

> (taking "else" to mean "no break was executed in the body" is hardly
> obvious or most particularly "the only obvious" interpretation).

that's not what it means, of course.

in every single case, it means "run once, if and only if the
controlling condition is false".

</F>








More information about the Python-list mailing list