2006-12-03 | paulb | file changeset files shortlog | Reordered methods, added docstrings. Removed the make_namespace method, inserting its contents in the only place the method was used. |
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 |