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@163 | 1 | def f(**k): |
paulb@163 | 2 | c = k["a"] |
paulb@163 | 3 | d = k["b"] |
paulb@163 | 4 | |
paulb@163 | 5 | f(a=1, b=2) |