summaryrefslogtreecommitdiffstats
path: root/Demo/newmetaclasses/Eiffel.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-27 20:34:09 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-27 20:34:09 (GMT)
commite81f5ef1ebf57e9df2cfefabb5c5fa67defa6d2f (patch)
tree13f435b9d8f0c352536fb92dadcb25aca673149e /Demo/newmetaclasses/Eiffel.py
parent76262356333f4bef993c61436c34ea50ccf53f28 (diff)
downloadcpython-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.py4
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):