2009-05-24 | Paul Boddie | file changeset files shortlog | Changed the interface to functions and instantiators to expose the body block (after argument checking) instead of an explicit location. |
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@215 | 6 | x = f(1, 2, 3) |
paul@215 | 7 | y = f(1, b=2, c=3) |
paul@215 | 8 | z = f(c=3, b=2, a=1) |
paul@21 | 9 | |
paul@21 | 10 | # vim: tabstop=4 expandtab shiftwidth=4 |