2006-12-02 | paulb | file changeset files shortlog | Reorganised the test program in preparation for tool creation. |
paulb@14 | 1 | class A: |
paulb@82 | 2 | "A class with attribute and method." |
paulb@14 | 3 | x = 123 |
paulb@14 | 4 | def m(self, x): |
paulb@14 | 5 | self.x = x |
paulb@14 | 6 | a = A() |
paulb@23 | 7 | y = A.x |
paulb@82 | 8 | a.m(321) |
paulb@23 | 9 | z = a.x |