micropython

Annotated tests/op_add_call.py

671:76bdd4381b66
2013-07-04 Paul Boddie Fixed operator and built-in function invocations to use the "apply" function. Added a proper translation of print statements. syspython-as-target
paul@152 1
#!/usr/bin/env python
paul@152 2
paul@152 3
def f(x, y):
paul@203 4
    return x + y
paul@152 5
paul@152 6
a = 1
paul@152 7
b = 2
paul@152 8
c = 3
paul@246 9
result_8 = f(a + b, b + c)
paul@152 10
paul@152 11
# vim: tabstop=4 expandtab shiftwidth=4