diff options
author | Georg Brandl <georg@python.org> | 2008-05-27 20:34:09 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-27 20:34:09 +0000 |
commit | ca3f9188fd455bb4643a96d78fe03748e65ebdfd (patch) | |
tree | c24eb06cf3130b167ee1c1afb79fe771b91b29b1 /Tools | |
parent | f80c2e15285cc75d3d5eb884542549e438fe575b (diff) | |
download | cpython-ca3f9188fd455bb4643a96d78fe03748e65ebdfd.tar.gz |
Remove __metaclass__ remains.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/framer/framer/bases.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/framer/framer/bases.py b/Tools/framer/framer/bases.py index d9c99dbab2..08aacb9eac 100644 --- a/Tools/framer/framer/bases.py +++ b/Tools/framer/framer/bases.py @@ -96,8 +96,8 @@ class ModuleMetaclass(BaseMetaclass): p("}") -class Module: - __metaclass__ = ModuleMetaclass +class Module(metaclass=ModuleMetaclass): + pass class TypeMetaclass(BaseMetaclass): @@ -211,5 +211,5 @@ class TypeMetaclass(BaseMetaclass): p(template.type_init_type) p(template.module_add_type) -class Type: - __metaclass__ = TypeMetaclass +class Type(metaclass=TypeMetaclass): + pass |