2007-02-14 | paulb | file changeset files shortlog | Changed comparison operations to use the same infrastructure as normal binary operations, modifying that infrastructure slightly. Introduced a special AST-style node for improved viewer referencing of the operations. |
paulb@29 | 1 | class A: pass |
paulb@14 | 2 | a = A() |
paulb@58 | 3 | a.x = 1, 2, 3 |
paulb@37 | 4 | c = b = a.x |
paulb@37 | 5 | [x, y, z] = c |
paulb@37 | 6 | x, y, z = c |