remove parens

This commit is contained in:
Benjamin Peterson 2010-08-24 21:30:14 +00:00
parent 1d6569cfb9
commit 16925e8539

View File

@ -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: