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@104 | 1 | a = 1 |
paulb@104 | 2 | b = 2 |
paulb@104 | 3 | class C: |
paulb@104 | 4 | d = 3 |
paulb@104 | 5 | c = C() |
paulb@104 | 6 | e = 4 |
paulb@15 | 7 | a != b < c.d > e |