Browse Source
`next(<iter>)` raises `StopIteration` when the iterator is empty. Providing a default returns that value instead, allowing to skip elements gracefully when you don't care if they exist.pull/14/head
committed by
GitHub