2010-06-05 | Paul Boddie | file changeset files shortlog | Changed parameter initialisation to explicitly use Instance() instead of None. Made the default parameter value code use the same mechanisms as other attribute-setting code. Added tests of lambdas and nested functions with locally defined defaults. |
paul@243 | 1 | #!/usr/bin/env python |
paul@243 | 2 | |
paul@243 | 3 | [x, y, z] = list((9, 8, 7)) |
paul@243 | 4 | |
paul@243 | 5 | result_9 = x |
paul@243 | 6 | result_8 = y |
paul@243 | 7 | result_7 = z |
paul@243 | 8 | |
paul@243 | 9 | # vim: tabstop=4 expandtab shiftwidth=4 |