diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-07-11 21:14:14 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-07-11 21:14:14 (GMT) |
commit | a70c3bd2c8d3b0e4f6b179d340216664b16983f4 (patch) | |
tree | 8573ba94ae00a993ed36c8e4b2cfaef2e0fa24b6 /Demo | |
parent | c9329cae53ca1fe5ccebd050972fa573dc35ec58 (diff) | |
download | cpython-a70c3bd2c8d3b0e4f6b179d340216664b16983f4.zip cpython-a70c3bd2c8d3b0e4f6b179d340216664b16983f4.tar.gz cpython-a70c3bd2c8d3b0e4f6b179d340216664b16983f4.tar.bz2 |
Remove list prenpost. It's not used any longer.
Diffstat (limited to 'Demo')
-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): |