Message378015
'for loop' always been used as follow code:
arr = [...]
for e in arr:
if not condition(e):
continue
...
What if be written just like 'list expression', would it be more explicit?
for e in arr if condition(e):
pass |
|
Date |
User |
Action |
Args |
2020-10-05 10:33:27 | chienpingtsung | set | recipients:
+ chienpingtsung |
2020-10-05 10:33:27 | chienpingtsung | set | messageid: <1601894007.96.0.390965204143.issue41942@roundup.psfhosted.org> |
2020-10-05 10:33:27 | chienpingtsung | link | issue41942 messages |
2020-10-05 10:33:27 | chienpingtsung | create | |
|