3 ms·
Yes, that’s just a special case. You can’t call None as a function. https://docs.python.org/3/library/functions.html#filter https://docs.python.org/3/library/f
by echoangle 2y ago
Yes, that’s just a special case. You can’t call None as a function.
https://docs.python.org/3/library/functions.html#filter https://docs.python.org/3/library/functions.html#filter
> If function is None, the identity function is assumed, that is, all elements of iterable that are false are removed.