Serhiy Storchaka added the comment:

I agree. _collections._count_elements() is an internal function. It should be 
called only with Counter (which is a dict subclass) or its subclass.

But I think it is worth to make the code more reliable.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31586>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to