OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] Comparisions for collections.Counters


Hello everyone,

According to the [doc][1], `collections.Counter` convenience intersection
and union functions are meant to help it represent multisets. However, it
currently lacks comparisons, which would make sense and seems
straightforward to implement.
Am I missing something here or should I send a PR ASAP?? :-)

Cheers,

E

[1]: https://docs.python.org/3/library/collections.html#collections.Counter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20180905/f102eed3/attachment.html>