for -- else: what was the motivation?

Axy axy at declassed.art
Mon Oct 10 14:41:29 EDT 2022


On 10/10/2022 19:25, Weatherby,Gerard wrote:
>
> pylint, at least, provides a warning:
>
> fe.py:4:0: W0120: Else clause on loop without a break statement 
> (useless-else-on-loop)
>
I'm using flake8, it does not, alas.

Axy.


More information about the Python-list mailing list