diff options
Diffstat (limited to 'Lib/functools.py')
-rw-r--r-- | Lib/functools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/functools.py b/Lib/functools.py index 7ce6bc2cea..1bbc520e7c 100644 --- a/Lib/functools.py +++ b/Lib/functools.py @@ -82,7 +82,7 @@ def total_ordering(cls): ('__gt__', lambda self, other: not other >= self), ('__lt__', lambda self, other: not self >= other)] } - roots = (set(dir(cls)) & set(convert)) + roots = set(dir(cls)) & set(convert) # Remove default comparison operations defined on object. roots -= {meth for meth in roots if getattr(cls, meth) in _object_defaults} if not roots: |