Kaydet (Commit) 425a8ec0 authored tarafından Jeremy Hylton's avatar Jeremy Hylton

Repair example code in doc string.

Bug fix candiadte.
üst e995d16f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment