[Python-checkins] python/dist/src/Demo/newmetaclasses Eiffel.py,1.2,1.3

jhylton@users.sourceforge.net jhylton@users.sourceforge.net
Thu, 11 Jul 2002 14:14:16 -0700


Update of /cvsroot/python/python/dist/src/Demo/newmetaclasses
In directory usw-pr-cvs1:/tmp/cvs-serv23479

Modified Files:
	Eiffel.py 
Log Message:
Remove list prenpost.  It's not used any longer.


Index: Eiffel.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Demo/newmetaclasses/Eiffel.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Eiffel.py	11 Jul 2002 21:09:34 -0000	1.2
--- Eiffel.py	11 Jul 2002 21:14:14 -0000	1.3
***************
*** 15,23 ****
          # 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)
--- 15,21 ----
***************
*** 61,65 ****
      def __call__(self, *args, **kwargs):
          return self._descr.callmethod(self._inst, args, kwargs)
-         
  
  class EiffelDescriptor(object):
--- 59,62 ----