3 ms·
Unless you're using Python where exceptions occur every time you finish looping. https://docs.python.org/3.7/library/exceptions.html#StopIteration https://docs.
by ChrisSD 7y ago
Unless you're using Python where exceptions occur every time you finish looping. https://docs.python.org/3.7/library/exceptions.html#StopIteration https://docs.python.org/3.7/library/exceptions.html#StopIter...
- benji-york 7y agoTrue. However, it is unusual for the user to deal with StopIteration themselves (therefore somewhat exceptional).