
Nov. 22, 2014
6:03 p.m.
On 22.11.14 01:55, Antony Lee wrote:
As Counter objects effectively behave like multi-sets, it seems reasonable to overload <, <=, >, >= as for set objects to check whether a Counter is a sub/super-set of another Counter:
c < d <===> all(c[k] < d[k] for k in c)
Thoughts?