[Python-ideas] Two small functional-style-related improvements

Ben Finney ben+python at benfinney.id.au
Sun Mar 27 15:16:17 CEST 2011


Jan Kaliszewski <zuo at chopin.edu.pl> writes:
> But anyway, I'd prefer filter(is_none, iterable)
> :)

Feel free to write such a function for your code, then. I don't see how
it's important enough to be in the Python standard library.
-- 
 \ “Ridicule is the only weapon which can be used against |
 `\ unintelligible propositions.” —Thomas Jefferson, 1816年07月30日 |
_o__) |
Ben Finney


More information about the Python-ideas mailing list

AltStyle によって変換されたページ (->オリジナル) /