Remove list prenpost. It's not used any longer.

This commit is contained in:
Jeremy Hylton 2002-07-11 21:14:14 +00:00
parent c9329cae53
commit a70c3bd2c8

View file

@ -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:
@ -61,7 +59,6 @@ class EiffelMethodWrapper:
def __call__(self, *args, **kwargs):
return self._descr.callmethod(self._inst, args, kwargs)
class EiffelDescriptor(object):
def __init__(self, func, pre, post):