Message197115
> I'm not even sure when this else statement is executed.
It executed when no breaks were happen. I.e. both variants of code are equivalent besides the fact that variant with "else" doesn't require named boolean variable. It is a feature of Python syntax. |
|
Date |
User |
Action |
Args |
2013-09-06 22:14:46 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, r.david.murray, Wilberto |
2013-09-06 22:14:46 | serhiy.storchaka | set | messageid: <1378505686.07.0.409311897842.issue18949@psf.upfronthosting.co.za> |
2013-09-06 22:14:46 | serhiy.storchaka | link | issue18949 messages |
2013-09-06 22:14:45 | serhiy.storchaka | create | |
|