Hacker News new | ask | show | jobs
by recursive 4669 days ago
Python also has a `StopIterationError` that is raised to signal the end of a `for` loop, which is not exceptional at all.
1 comments

It's called "StopIteration", not "StopIterationError", because it is not an error.