2007-01-08 | paulb | file changeset files shortlog | Added an exception to the locally defined function names rule: within a class definition, methods should not be accessible via their plain names alone (ie. like functions). |
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 |