We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdc84ba commit 024fcbbCopy full SHA for 024fcbb
six.py
@@ -821,7 +821,7 @@ def with_metaclass(meta, *bases):
821
# This requires a bit of explanation: the basic idea is to make a dummy
822
# metaclass for one level of class instantiation that replaces itself with
823
# the actual metaclass.
824
- class metaclass(meta):
+ class metaclass(type):
825
826
def __new__(cls, name, this_bases, d):
827
return meta(name, bases, d)
0 commit comments