2008-04-26 | Paul Boddie | file changeset files shortlog | Make the last operation None if no operations have yet been generated. Made previous ImmediateInstruction subclasses employ AddressInstruction instead. Introduced ImmediateInstruction for *Index classes. Fixed exception handling for keyword arguments. |
paul@59 | 1 | #!/usr/bin/env python |
paul@59 | 2 | |
paul@59 | 3 | class C: |
paul@59 | 4 | def f(self, a, b, c): |
paul@59 | 5 | pass |
paul@59 | 6 | |
paul@59 | 7 | c = C() |
paul@59 | 8 | c.f(1, 2, 3) |
paul@59 | 9 | |
paul@59 | 10 | f = c.f |
paul@59 | 11 | f(1, 2, 3) |
paul@59 | 12 | |
paul@59 | 13 | # vim: tabstop=4 expandtab shiftwidth=4 |