Use empty string for self

John Salerno johnjsal at
Wed Mar 1 05:08:09 CET 2006

Roy Smith wrote:
> paullanier at wrote:
>> Any comments?  Has this been discussed before?
> Yes.  To death.  Executive summary: self is here to stay.

A related thing I was wondering about was the use of 'self' in class 
methods as the first parameter. I understand that right now it is 
necessary, but is this something that the language itself requires, or 
just the way it is implemented now? It seems like a waste of typing to 
always have to put self as the first parameter in every class method. Is 
there no way for it to be implied?

More information about the Python-list mailing list