Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 16925e8

Browse files
committed
remove parens
1 parent 1d6569c commit 16925e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/functools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def total_ordering(cls):
8282
('__gt__', lambda self, other: not other >= self),
8383
('__lt__', lambda self, other: not self >= other)]
8484
}
85-
roots = (set(dir(cls)) & set(convert))
85+
roots = set(dir(cls)) & set(convert)
8686
# Remove default comparison operations defined on object.
8787
roots -= {meth for meth in roots if getattr(cls, meth) in _object_defaults}
8888
if not roots:

0 commit comments

Comments
 (0)