micropython

tests/call_method.py

65:24df65a47aa8
2008-04-06 Paul Boddie Made optimised attribute access via self optional. Renamed an example.
     1 #!/usr/bin/env python     2      3 class C:     4     def f(self, a, b, c):     5         pass     6      7 c = C()     8 c.f(1, 2, 3)     9     10 f = c.f    11 f(1, 2, 3)    12     13 # vim: tabstop=4 expandtab shiftwidth=4