Repair example code in doc string.

Bug fix candiadte.
This commit is contained in:
Jeremy Hylton 2002-07-11 20:22:11 +00:00
parent e995d16f71
commit 425a8ec05e
1 changed files with 1 additions and 1 deletions

View File

@ -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