tests/call_method.py | raw changeset files shortlog |
1.1 --- a/tests/call_method.py Wed Aug 27 00:45:14 2008 +0200 1.2 +++ b/tests/call_method.py Mon Sep 01 01:32:32 2008 +0200 1.3 @@ -1,6 +1,9 @@ 1.4 #!/usr/bin/env python 1.5 1.6 class C: 1.7 + def __init__(self, x): 1.8 + pass 1.9 + 1.10 def f(self, a, b, c): 1.11 self.g(a) 1.12 m = self.g 1.13 @@ -12,7 +15,7 @@ 1.14 def h(self, p): 1.15 pass 1.16 1.17 -c = C() 1.18 +c = C(123) 1.19 c.f(1, 2, 3) 1.20 1.21 f = c.f