micropython

Annotated tests/call_func_star_parameter_unpack.py

803:39ba98ecc020
2014-06-01 Paul Boddie Fixed a docstring to describe the method's actual return value. syspython-as-target
paul@216 1
#!/usr/bin/env python
paul@216 2
paul@216 3
def f(*args):
paul@216 4
    a, b, c = args
paul@216 5
    return c
paul@216 6
paul@229 7
result_3 = f(1, 2, 3)
paul@216 8
paul@216 9
# vim: tabstop=4 expandtab shiftwidth=4