micropython

tests/call_instance.py

210:6bcd2a7c7a2a
2009-05-09 Paul Boddie Reorganised the instance attribute positioning methods.
     1 #!/usr/bin/env python     2      3 class C:     4     def __call__(self):     5         return "called"     6      7 c = C()     8 result = c()     9     10 # vim: tabstop=4 expandtab shiftwidth=4