Merge branch '1.0.x'

This commit is contained in:
David Lord 2019-06-12 10:41:11 -07:00
commit 29111a3259
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
8 changed files with 35 additions and 65 deletions

View file

@ -63,7 +63,7 @@ def with_metaclass(meta, *bases):
# dummy metaclass for one level of class instantiation that replaces
# itself with the actual metaclass.
class metaclass(type):
def __new__(mcs, name, this_bases, d):
def __new__(metacls, name, this_bases, d):
return meta(name, bases, d)
return type.__new__(metaclass, "temporary_class", (), {})