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@112 | 1 | #!/usr/bin/env python |
paul@112 | 2 | |
paul@112 | 3 | a = [1, 2, 3] |
paul@243 | 4 | b = [1, [2, 3], 4, 5] |
paul@243 | 5 | c = list((9, 8, 7)) |
paul@243 | 6 | |
paul@243 | 7 | result_3 = a[2] |
paul@243 | 8 | result_4 = b[2] |
paul@243 | 9 | result_2 = b[1][0] |
paul@243 | 10 | result_9 = c[0] |
paul@112 | 11 | |
paul@112 | 12 | # vim: tabstop=4 expandtab shiftwidth=4 |