2007-10-14 | Paul Boddie | file changeset files shortlog | Introduced iteration over instance fixing in order to reduce the non-distinct instances as much as possible. |
paulb@29 | 1 | class A: pass |
paulb@14 | 2 | a = A() |
paulb@257 | 3 | |
paulb@58 | 4 | a.x = 1, 2, 3 |
paulb@257 | 5 | a.y = "1", 1, 1.1 |
paulb@257 | 6 | a.z = 1, a.y, "1" |
paulb@257 | 7 | |
paulb@37 | 8 | c = b = a.x |
paulb@257 | 9 | e = d = a.y |
paulb@257 | 10 | g = f = a.z |
paulb@257 | 11 | |
paulb@37 | 12 | [x, y, z] = c |
paulb@37 | 13 | x, y, z = c |
paulb@257 | 14 | |
paulb@257 | 15 | [p, q, r] = e |
paulb@257 | 16 | p, q, r = e |
paulb@257 | 17 | |
paulb@257 | 18 | [l, m, n] = g |
paulb@257 | 19 | l, m, n = g |
paulb@257 | 20 | |
paulb@257 | 21 | l, (m1, m2, m3), n = g |