[Python-checkins] python/dist/src/Demo/metaclasses Eiffel.py,1.3,1.4

jhylton@users.sourceforge.net jhylton@users.sourceforge.net
Thu, 11 Jul 2002 13:22:13 -0700


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

Modified Files:
	Eiffel.py 
Log Message:
Repair example code in doc string.

Bug fix candiadte.


Index: Eiffel.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Demo/metaclasses/Eiffel.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Eiffel.py	14 Sep 1998 16:44:13 -0000	1.3
--- Eiffel.py	11 Jul 2002 20:22:11 -0000	1.4
***************
*** 29,33 ****
  class D(C):
      def m1(self, arg):
!         return whatever**2
      def m1_post(self, Result, arg):
          C.m1_post(self, Result, arg)
--- 29,33 ----
  class D(C):
      def m1(self, arg):
!         return arg**2
      def m1_post(self, Result, arg):
          C.m1_post(self, Result, arg)