Skip to content

Commit 024fcbb

Browse files
jdemeyerbenjaminp
authored andcommitted
Temporary metaclass should not inherit from "meta" (#191)
1 parent bdc84ba commit 024fcbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

six.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ def with_metaclass(meta, *bases):
821821
# This requires a bit of explanation: the basic idea is to make a dummy
822822
# metaclass for one level of class instantiation that replaces itself with
823823
# the actual metaclass.
824-
class metaclass(meta):
824+
class metaclass(type):
825825

826826
def __new__(cls, name, this_bases, d):
827827
return meta(name, bases, d)

0 commit comments

Comments
 (0)