micropython

tests/op_add_call.py

207:79f8d72c8c78
2009-05-01 Paul Boddie Removed the instance attribute from DataObject (the common data structure), employing the presence of a value on the attrcode attribute to indicate the instance status of objects.
     1 #!/usr/bin/env python     2      3 def f(x, y):     4     return x + y     5      6 a = 1     7 b = 2     8 c = 3     9 d = f(a + b, b + c)    10     11 # vim: tabstop=4 expandtab shiftwidth=4