Commit bb5f5903 authored by Guido van Rossum's avatar Guido van Rossum

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?).
parent 2d28f592
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment