mirror of https://github.com/python/cpython
parent
e995d16f71
commit
425a8ec05e
|
@ -28,7 +28,7 @@ post-condition with that defined in the derived class', for example:
|
||||||
|
|
||||||
class D(C):
|
class D(C):
|
||||||
def m1(self, arg):
|
def m1(self, arg):
|
||||||
return whatever**2
|
return arg**2
|
||||||
def m1_post(self, Result, arg):
|
def m1_post(self, Result, arg):
|
||||||
C.m1_post(self, Result, arg)
|
C.m1_post(self, Result, arg)
|
||||||
assert Result < 100
|
assert Result < 100
|
||||||
|
|
Loading…
Reference in New Issue