From 16925e8539a39bf5599514d1be3f3c601bbc7b00 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 24 Aug 2010 21:30:14 +0000 Subject: remove parens --- Lib/functools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/functools.py b/Lib/functools.py index 7ce6bc2..1bbc520 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: -- cgit v0.12