From: Jeremy Hylton Date: Thu, 11 Jul 2002 21:14:14 +0000 (+0000) Subject: Remove list prenpost. It's not used any longer. X-Git-Tag: v2.3c1~5032 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a70c3bd2c8d3b0e4f6b179d340216664b16983f4;p=thirdparty%2FPython%2Fcpython.git Remove list prenpost. It's not used any longer. --- diff --git a/Demo/newmetaclasses/Eiffel.py b/Demo/newmetaclasses/Eiffel.py index ac9a3fe395b1..e73d0ca88003 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):