diff options
author | Georg Brandl <georg@python.org> | 2008-05-27 20:34:09 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-27 20:34:09 (GMT) |
commit | e81f5ef1ebf57e9df2cfefabb5c5fa67defa6d2f (patch) | |
tree | 13f435b9d8f0c352536fb92dadcb25aca673149e /Tools/framer | |
parent | 76262356333f4bef993c61436c34ea50ccf53f28 (diff) | |
download | cpython-e81f5ef1ebf57e9df2cfefabb5c5fa67defa6d2f.zip cpython-e81f5ef1ebf57e9df2cfefabb5c5fa67defa6d2f.tar.gz cpython-e81f5ef1ebf57e9df2cfefabb5c5fa67defa6d2f.tar.bz2 |
Remove __metaclass__ remains.
Diffstat (limited to 'Tools/framer')
-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 d9c99db..08aacb9 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 |