Hacker News new | ask | show | jobs
by weird-eye-issue 1475 days ago
From the docs:

If function is None, the identity function is assumed, that is, all elements of iterable that are false are removed.

So it just removes false-y values.

Very handy I've used it a ton