Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
recursive
12y ago
0 comments
Save
Share
Python also has a `StopIterationError` that is raised to signal the end of a `for` loop, which is not exceptional at all.
0 comments
1 comments · 1 top-level
top
newest
oldest
teddyh
12y ago
It's called "StopIteration", not "StopIterationError", because
it is not an error
.
j
/
k
navigate · click thread line to collapse