hello
i was thinking about a possible improvement for the itemgetter
the documentation page shows simple examples like sorting a dictionary by
its integer values, like this:
inventory = [('apple', 3), ('banana', 2), ('pear', 5), ('orange', 1)]
getcount = itemgetter(1)
map(getcount, inventory)
On Sun, Jan 11, 2009 at 2:02 PM, Alexandre Fiori fio...@gmail.com wrote:
hello
i was thinking about a possible improvement for the itemgetter
the documentation page shows simple examples like sorting a dictionary by
its integer values
Hi,
Sorry for starting like this but ideas are supposed
thanks!
On Sun, Jan 11, 2009 at 2:12 PM, Guilherme Polo ggp...@gmail.com wrote:
On Sun, Jan 11, 2009 at 2:02 PM, Alexandre Fiori fio...@gmail.com wrote:
hello
i was thinking about a possible improvement for the itemgetter
the documentation page shows simple examples like sorting a