mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Remove list prenpost. It's not used any longer.
This commit is contained in:
parent
c9329cae53
commit
a70c3bd2c8
1 changed files with 0 additions and 3 deletions
|
|
@ -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):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue