commit | 16925e8539a39bf5599514d1be3f3c601bbc7b00 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Aug 24 21:30:14 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Aug 24 21:30:14 2010 +0000 |
tree | d6319d34ee11d1452304498ba7ddb36059c42c85 | |
parent | 1d6569cfb956c90c6904a7b9fbbc8cf345df47ae [diff] [blame] |
remove parens
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 @@ ('__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: