tests/call_method_ref_internal.py | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/call_method_ref_internal.py Fri May 01 02:38:05 2009 +0200 1.3 @@ -0,0 +1,16 @@ 1.4 +#!/usr/bin/env python 1.5 + 1.6 +class C: 1.7 + def f(self, a, b, c): 1.8 + m = self.g 1.9 + m(a, b, c) 1.10 + 1.11 + def g(self, a, b, c): 1.12 + self.a = a 1.13 + self.b = b 1.14 + self.c = c 1.15 + 1.16 +c = C() 1.17 +c.f(1, 2, 3) 1.18 + 1.19 +# vim: tabstop=4 expandtab shiftwidth=4