[issue19427] enhancement: dictionary maths

Georg Brandl report at bugs.python.org
Tue Oct 29 07:57:41 CET 2013


Georg Brandl added the comment:

This specialized use case has no chance of being added to the very general dict object.

But have a look at the collections.Counter class which does exactly what you propose for positive values and the +/- operations.

----------
nosy: +georg.brandl

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


More information about the Python-bugs-list mailing list