aboutsummaryrefslogtreecommitdiff
path: root/devel/py-first/pkg-descr
blob: 9a6151acf73d897786e89c4c6a94adc884797214 (plain) (blame)
1
2
3
4
first is an MIT licensed Python package with a simple function that returns the
first true value from an iterable, or None if there is none. If you need more
power, you can also supply a key function that is used to judge the truth value
of the element or a default value if None doesn’t fit your use case.