micropython

tests/call_method.py

227:8c504f98e45f
2009-05-24 Paul Boddie Changed the interface to functions and instantiators to expose the body block (after argument checking) instead of an explicit location.
     1 #!/usr/bin/env python     2      3 class C:     4     def __init__(self, x):     5         self.x = x     6      7 c = C(123)     8      9 # vim: tabstop=4 expandtab shiftwidth=4