micropython

Annotated tests/op_add_call.py

802:56b09bd4db2a
2014-06-01 Paul Boddie Made package imports fail properly when submodules cannot be found. 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