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 /Demo/newmetaclasses/Eiffel.py | |
parent | 76262356333f4bef993c61436c34ea50ccf53f28 (diff) | |
download | cpython-e81f5ef1ebf57e9df2cfefabb5c5fa67defa6d2f.zip cpython-e81f5ef1ebf57e9df2cfefabb5c5fa67defa6d2f.tar.gz cpython-e81f5ef1ebf57e9df2cfefabb5c5fa67defa6d2f.tar.bz2 |
Remove __metaclass__ remains.
Diffstat (limited to 'Demo/newmetaclasses/Eiffel.py')
-rw-r--r-- | Demo/newmetaclasses/Eiffel.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/newmetaclasses/Eiffel.py b/Demo/newmetaclasses/Eiffel.py index 337ad93..15fa58a 100644 --- a/Demo/newmetaclasses/Eiffel.py +++ b/Demo/newmetaclasses/Eiffel.py @@ -85,8 +85,8 @@ class EiffelMetaClass2(EiffelBaseMetaClass): make_eiffel_method = EiffelDescriptor def _test(metaclass): - class Eiffel: - __metaclass__ = metaclass + class Eiffel(metaclass=metaclass): + pass class Test(Eiffel): |