[issue22515] Implement partial order on Counter
Steven D'Aprano
report at bugs.python.org
Mon Sep 29 22:15:30 CEST 2014
Steven D'Aprano added the comment:
On Mon, Sep 29, 2014 at 07:33:21PM +0000, Ram Rachum wrote:
> I suggest implementing `Counter.__lt__` which will be a partial order,
> similarly to `set.__lt__`.
Since Counter is described as a multiset, this sounds reasonable to me.
----------
nosy: +steven.daprano
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22515>
_______________________________________
More information about the Python-bugs-list
mailing list