1.1 --- a/tests/call_method.py Fri May 01 01:02:20 2009 +0200
1.2 +++ b/tests/call_method.py Fri May 01 02:38:05 2009 +0200
1.3 @@ -2,23 +2,8 @@
1.4
1.5 class C:
1.6 def __init__(self, x):
1.7 - pass
1.8 -
1.9 - def f(self, a, b, c):
1.10 - self.g(a)
1.11 - m = self.g
1.12 - m(b)
1.13 -
1.14 - def g(self, x):
1.15 - C.h(self, x)
1.16 -
1.17 - def h(self, p):
1.18 - pass
1.19 + self.x = x
1.20
1.21 c = C(123)
1.22 -c.f(1, 2, 3)
1.23 -
1.24 -f = c.f
1.25 -f(1, 2, 3)
1.26
1.27 # vim: tabstop=4 expandtab shiftwidth=4