You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The loop never uses break, so the else clause always executes.
However, since it iterates over a generator, the generator is already exhausted after the first pass... so the else block would iterate over nothing.
So, i believe the 'else' is redundant.
0 commit comments