Update comments to reflect the current API (GH-20682)
This commit is contained in:
parent
f7c4e23642
commit
0e96c419d7
|
@ -760,10 +760,12 @@ class Counter(dict):
|
|||
# set(cp - cq) == sp - sq
|
||||
# set(cp | cq) == sp | sq
|
||||
# set(cp & cq) == sp & sq
|
||||
# cp.isequal(cq) == (sp == sq)
|
||||
# cp.issubset(cq) == sp.issubset(sq)
|
||||
# cp.issuperset(cq) == sp.issuperset(sq)
|
||||
# cp.isdisjoint(cq) == sp.isdisjoint(sq)
|
||||
# (cp == cq) == (sp == sq)
|
||||
# (cp != cq) == (sp != sq)
|
||||
# (cp <= cq) == (sp <= sq)
|
||||
# (cp < cq) == (sp < sq)
|
||||
# (cp >= cq) == (sp >= sq)
|
||||
# (cp > cq) == (sp > sq)
|
||||
|
||||
def __add__(self, other):
|
||||
'''Add counts from two counters.
|
||||
|
|
Loading…
Reference in New Issue