2006-10-07 | paulb | file changeset files shortlog | Added original node attribute initialisation to structure-related classes. Introduced stream parameterisation to the pprint methods of the Node class. |
paulb@14 | 1 | class A: |
paulb@14 | 2 | x = 123 |
paulb@14 | 3 | def m(self, x): |
paulb@14 | 4 | self.x = x |
paulb@14 | 5 | a = A() |
paulb@23 | 6 | y = A.x |
paulb@23 | 7 | z = a.x |