From: Benjamin Peterson Date: Tue, 24 Aug 2010 21:30:14 +0000 (+0000) Subject: remove parens X-Git-Tag: v3.2a2~145 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=16925e8539a39bf5599514d1be3f3c601bbc7b00;p=thirdparty%2FPython%2Fcpython.git remove parens --- diff --git a/Lib/functools.py b/Lib/functools.py index 7ce6bc2cea4b..1bbc520e7c3b 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: