Nikolaus Rath wrote:
I think you misunderstood him.
I did, but addressed the below in another post. > What he wants is to write
> class foo:
def bar(arg): self.whatever = arg + 1 instead of class foo: def bar(self, arg) self.whatever = arg + 1 so 'self' should *automatically* only be inserted in the function declaration, and *manually* be typed for attributes.
which means making 'self' a keyword just so it can be omitted. Silly and pernicious.
tjr -- http://mail.python.org/mailman/listinfo/python-list