Raymond Hettinger <[email protected]> added the comment:

This example needs to stay.  It was one of the principal motiviating use cases 
for defaultdict and it is a good, simple, understandable example of how to use 
it.

Also, I don't want to cross-link these two tools because they a subtly 
different (the default dict approach inserts a zero for missing elements while 
the Counter approach returns zero but does not insert it).

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

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue6893>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to