summaryrefslogtreecommitdiffstats
path: root/Lib/collections/abc.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/collections/abc.py')
-rw-r--r--Lib/collections/abc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/collections/abc.py b/Lib/collections/abc.py
index 440c35b..18c07bf 100644
--- a/Lib/collections/abc.py
+++ b/Lib/collections/abc.py
@@ -200,12 +200,12 @@ class Set(Sized, Iterable, Container):
def __gt__(self, other):
if not isinstance(other, Set):
return NotImplemented
- return other < self
+ return other.__lt__(self)
def __ge__(self, other):
if not isinstance(other, Set):
return NotImplemented
- return other <= self
+ return other.__le__(self)
def __eq__(self, other):
if not isinstance(other, Set):