[Python-ideas] Adding a `Counter.elements_length` method

cool-RR cool-rr at cool-rr.com
Thu Mar 31 23:28:09 CEST 2011


Hello folks,

I suggest a `Counter.elements_length` method should be added, that would
give the same answer as `sum(counter.itervalues())`. What do you think?


Ram.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20110331/752a7844/attachment.html>


More information about the Python-ideas mailing list