diff options
author | Guido van Rossum <guido@python.org> | 2007-06-14 03:27:55 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-06-14 03:27:55 (GMT) |
commit | bb5f590323f49c57c5374f2ba7683832e6f1b4ef (patch) | |
tree | fc527f45d4bcf0e5dcd36b7c147d00111e06bafc /Lib | |
parent | 2d28f592451ea1504ef1064c7f345d09ca507137 (diff) | |
download | cpython-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')
-rw-r--r-- | Lib/abc.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |