summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdemeyer <jdemeyer@cage.ugent.be>2017-09-17 20:08:11 +0200
committerBenjamin Peterson <benjamin@python.org>2017-09-17 11:08:11 -0700
commit024fcbb9c6f18a79b1e65f7bb9233c49cdd7fe88 (patch)
treed0c18eb13069b57a7b154d27f069bb32e05c4a1b
parentbdc84baaac0071c12cf09a83dbe7a9bbabe4b5cb (diff)
downloadsix-git-024fcbb9c6f18a79b1e65f7bb9233c49cdd7fe88.tar.gz
Temporary metaclass should not inherit from "meta" (#191)
-rw-r--r--six.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/six.py b/six.py
index 65ac434..fb5bab2 100644
--- a/six.py
+++ b/six.py
@@ -821,7 +821,7 @@ def with_metaclass(meta, *bases):
# This requires a bit of explanation: the basic idea is to make a dummy
# metaclass for one level of class instantiation that replaces itself with
# the actual metaclass.
- class metaclass(meta):
+ class metaclass(type):
def __new__(cls, name, this_bases, d):
return meta(name, bases, d)