From: Raymond Hettinger Date: Sat, 6 Jun 2020 19:42:54 +0000 (-0700) Subject: Update comments to reflect the current API (GH-20682) X-Git-Tag: v3.10.0a1~701 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0e96c419d7287c3c7f155c9f2de3c61020386256;p=thirdparty%2FPython%2Fcpython.git Update comments to reflect the current API (GH-20682) --- diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py index 2acf67289f22..03393f35b11c 100644 --- a/Lib/collections/__init__.py +++ b/Lib/collections/__init__.py @@ -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.