mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Update comments to reflect the current API (GH-20682)
This commit is contained in:
parent
f7c4e23642
commit
0e96c419d7
1 changed files with 6 additions and 4 deletions
|
|
@ -760,10 +760,12 @@ def __repr__(self):
|
|||
# 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…
Add table
Add a link
Reference in a new issue