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
Til Boerner
5 years ago
committed by
GitHub