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@239 | 1 | #!/usr/bin/env python |
paul@239 | 2 | |
paul@239 | 3 | xr = xrange(0, 10, 1) |
paul@239 | 4 | result_0 = xr.start |
paul@239 | 5 | result_10 = xr.end |
paul@239 | 6 | result_1 = xr.step |
paul@239 | 7 | |
paul@239 | 8 | # vim: tabstop=4 expandtab shiftwidth=4 |