Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d6569c commit 16925e8Copy full SHA for 16925e8
1 file changed
Lib/functools.py
@@ -82,7 +82,7 @@ def total_ordering(cls):
82
('__gt__', lambda self, other: not other >= self),
83
('__lt__', lambda self, other: not self >= other)]
84
}
85
- roots = (set(dir(cls)) & set(convert))
+ roots = set(dir(cls)) & set(convert)
86
# Remove default comparison operations defined on object.
87
roots -= {meth for meth in roots if getattr(cls, meth) in _object_defaults}
88
if not roots:
0 commit comments