2007-09-06 | Paul Boddie | file changeset files shortlog | Added a fully-qualified name method for WithName-derived classes, producing a more usable global name for applications such as the viewer. Added a method for returning "visible" class attributes to GeneralClass. Added an attribute table production function for integration with the explicit distribution, along with a test program option for generating such a table. |
paulb@106 | 1 | l = [(0, 10), (10, 20)] |
paulb@106 | 2 | y = 23 |
paulb@106 | 3 | for a, b in l: |
paulb@106 | 4 | for i in a, b: |
paul@0 | 5 | x = i |
paulb@106 | 6 | else: # NOTE: Need to support StopIteration! |
paul@0 | 7 | x = y |
paul@0 | 8 | else: |
paul@0 | 9 | a = b |