From 425a8ec05e2b14ee2738d4930b1776a01305d023 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Thu, 11 Jul 2002 20:22:11 +0000 Subject: Repair example code in doc string. Bug fix candiadte. --- Demo/metaclasses/Eiffel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Demo/metaclasses/Eiffel.py b/Demo/metaclasses/Eiffel.py index d9c8a9a..68eb1cd 100644 --- a/Demo/metaclasses/Eiffel.py +++ b/Demo/metaclasses/Eiffel.py @@ -28,7 +28,7 @@ post-condition with that defined in the derived class', for example: class D(C): def m1(self, arg): - return whatever**2 + return arg**2 def m1_post(self, Result, arg): C.m1_post(self, Result, arg) assert Result < 100 -- cgit v0.12