2008-11-08 | Paul Boddie | file changeset files shortlog | Added name accounting. |
paul@134 | 1 | #!/usr/bin/env python |
paul@134 | 2 | |
paul@134 | 3 | class C: |
paul@134 | 4 | def f(self, a, b, c): |
paul@134 | 5 | pass |
paul@134 | 6 | |
paul@134 | 7 | c = C() |
paul@134 | 8 | |
paul@134 | 9 | f = c.f |
paul@134 | 10 | f(1, 2, 3) |
paul@134 | 11 | |
paul@134 | 12 | f = C.f |
paul@134 | 13 | f(c, 1, 2, 3) |
paul@134 | 14 | |
paul@134 | 15 | # vim: tabstop=4 expandtab shiftwidth=4 |