micropython

Change of tests/call_method2.py

134:12c97a4d751c
tests/call_method2.py
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tests/call_method2.py	Mon Aug 25 02:04:10 2008 +0200
     1.3 @@ -0,0 +1,15 @@
     1.4 +#!/usr/bin/env python
     1.5 +
     1.6 +class C:
     1.7 +    def f(self, a, b, c):
     1.8 +        pass
     1.9 +
    1.10 +c = C()
    1.11 +
    1.12 +f = c.f
    1.13 +f(1, 2, 3)
    1.14 +
    1.15 +f = C.f
    1.16 +f(c, 1, 2, 3)
    1.17 +
    1.18 +# vim: tabstop=4 expandtab shiftwidth=4