Description
Iterator handling in legacy Python 2 code can use a small helper to retrieve the first matching element. This library reduces repeated boilerplate around iterables and default values.
It is imported by applications and libraries, not used as a standalone program. The caller decides what iterable is evaluated and whether that evaluation has side effects.