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@98 | 1 | #!/usr/bin/env python |
paul@98 | 2 | |
paul@239 | 3 | for i in xrange(0, 100, 10): |
paul@239 | 4 | for j in xrange(0, 10): |
paul@98 | 5 | k = i + j |
paul@98 | 6 | |
paul@239 | 7 | result_99 = k |
paul@239 | 8 | |
paul@98 | 9 | # vim: tabstop=4 expandtab shiftwidth=4 |