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@169 | 1 | def f(): |
paulb@169 | 2 | class C: |
paulb@169 | 3 | pass |
paulb@169 | 4 | return C |
paulb@169 | 5 | |
paulb@169 | 6 | c = f() |