2009-11-23 | Paul Boddie | file changeset files shortlog | Added attribute usage registration for branches where more specific attribute usage occurs, but where such usage cannot be merged back into the active usage definition for a given name. This should ensure that attributes are not forgotten because their usage was not merged and carried forward. Added more specific tests. |
paul@21 | 1 | #!/usr/bin/env python |
paul@21 | 2 | |
paul@21 | 3 | def f(a, b, c): |
paul@215 | 4 | return c |
paul@21 | 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@21 | 9 | |
paul@21 | 10 | # vim: tabstop=4 expandtab shiftwidth=4 |