summaryrefslogtreecommitdiffstats
path: root/Lib/functools.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-08-24 21:30:14 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-08-24 21:30:14 (GMT)
commit16925e8539a39bf5599514d1be3f3c601bbc7b00 (patch)
treed6319d34ee11d1452304498ba7ddb36059c42c85 /Lib/functools.py
parent1d6569cfb956c90c6904a7b9fbbc8cf345df47ae (diff)
downloadcpython-16925e8539a39bf5599514d1be3f3c601bbc7b00.zip
cpython-16925e8539a39bf5599514d1be3f3c601bbc7b00.tar.gz
cpython-16925e8539a39bf5599514d1be3f3c601bbc7b00.tar.bz2
remove parens
Diffstat (limited to 'Lib/functools.py')
-rw-r--r--Lib/functools.py2
1 files changed, 1 insertions, 1 deletions
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: