2014-06-01 | Paul Boddie | file changeset files shortlog | Made package imports fail properly when submodules cannot be found. | syspython-as-target |
paul@189 | 1 | #!/usr/bin/env python |
paul@189 | 2 | |
paul@189 | 3 | def f(a, b, c=4): |
paul@218 | 4 | return c |
paul@189 | 5 | |
paul@229 | 6 | result1_3 = f(1, 2, 3) |
paul@229 | 7 | result2_3 = f(1, b=2, c=3) |
paul@229 | 8 | result3_3 = f(c=3, b=2, a=1) |
paul@229 | 9 | result_4 = f(1, 2) |
paul@189 | 10 | |
paul@189 | 11 | # vim: tabstop=4 expandtab shiftwidth=4 |