diff options
-rw-r--r-- | Demo/newmetaclasses/Eiffel.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Demo/newmetaclasses/Eiffel.py b/Demo/newmetaclasses/Eiffel.py index ac9a3fe..e73d0ca 100644 --- a/Demo/newmetaclasses/Eiffel.py +++ b/Demo/newmetaclasses/Eiffel.py @@ -14,11 +14,9 @@ class EiffelBaseMetaClass(type): """ # find methods with pre or post conditions methods = [] - prenpost = [] for k, v in dict.iteritems(): if k.endswith('_pre') or k.endswith('_post'): assert isinstance(v, function) - prenpost.append(k) elif isinstance(v, function): methods.append(k) for m in methods: @@ -60,7 +58,6 @@ class EiffelMethodWrapper: def __call__(self, *args, **kwargs): return self._descr.callmethod(self._inst, args, kwargs) - class EiffelDescriptor(object): |