summaryrefslogtreecommitdiffstats
path: root/Lib/abc.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-06-14 03:27:55 (GMT)
committerGuido van Rossum <guido@python.org>2007-06-14 03:27:55 (GMT)
commitbb5f590323f49c57c5374f2ba7683832e6f1b4ef (patch)
treefc527f45d4bcf0e5dcd36b7c147d00111e06bafc /Lib/abc.py
parent2d28f592451ea1504ef1064c7f345d09ca507137 (diff)
downloadcpython-bb5f590323f49c57c5374f2ba7683832e6f1b4ef.zip
cpython-bb5f590323f49c57c5374f2ba7683832e6f1b4ef.tar.gz
cpython-bb5f590323f49c57c5374f2ba7683832e6f1b4ef.tar.bz2
Modernize the super() call in ABCMeta.__new__() -- I had messed with
it when I thought something was broken, and forgotten to restore it before checking in (maybe I did a svn revert which had the wrong effect?).
Diffstat (limited to 'Lib/abc.py')
-rw-r--r--Lib/abc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/abc.py b/Lib/abc.py
index ca6be96..ae5113a 100644
--- a/Lib/abc.py
+++ b/Lib/abc.py
@@ -93,7 +93,7 @@ class ABCMeta(type):
def __new__(mcls, name, bases, namespace):
bases = _fix_bases(bases)
- cls = super(ABCMeta, mcls).__new__(mcls, name, bases, namespace)
+ cls = super().__new__(mcls, name, bases, namespace)
# Compute set of abstract method names
abstracts = {name
for name, value in namespace.items()