Meador Inge added the comment:
Ah, good examples Mark. So, why is it ever useful keep a key with a value of
zero? In other words, why:
>>> Counter(a=0)
Counter({'a': 0})
instead of:
>>> Counter(a=0)
Counter()
?
The latter seems more consistent to me.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue14182>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com