[issue11733] Implement a `Counter.elements_count` method

Raymond Hettinger report at bugs.python.org
Tue Apr 5 22:47:13 CEST 2011


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

After more thought, I've decided to close this feature request.  The operation is utterly trivial and isn't worth fattening the API.  I see no advantage in `c.total_count()` versus `sum(c.values())`.

----------
resolution:  -> rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11733>
_______________________________________


More information about the Python-bugs-list mailing list