Re:What’s inside Python ‘for’ loop?
by theamk on Monday March 25, 2019 @09:55PM
(#19488631)
The "inside" part is slightly wrong, the payload is outside of the try/except clause:
You can check this by throwing StopIteration inside the loop, and watching it propagate outside normally.
[ Parent
| on HN ]
There are no comments on this comment yet.