[Python-ideas] Adding list.pluck()
phd at phdru.name
Fri Jun 1 23:16:30 CEST 2012
On Sat, Jun 02, 2012 at 12:10:03AM +0300, Cenk Alt?? <cenkalti at gmail.com> wrote:
> pluck() is a beautiful function which is in underscore.js library.
> Described as "A convenient version of what is perhaps the most common
> use-case for map: extracting a list of property values."
> What about it implementing for python lists? And maybe for other iterables?
Oleg Broytman http://phdru.name/ phd at phdru.name
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-ideas