PEP 318

Nicolas Fleury nid_oizo at yahoo.com_removethe_
Mon Mar 22 03:16:05 CET 2004

John Roth wrote:
> I personally think that self not only should be a keyword,
> it should not be among the parameters at all. However, I
> seem to be in a distinct minority about that.

But how could that be changed/introduced?

> However, I think you've got class methods mixed up with
> static methods. Class methods require the first parameter
> to be the class (sometimes spelled klas for some reason),
> while static methods are the ones that don't have either an
> instance or a class as the first parameter.

Ok, I wrote static method everywhere in my message and changed for class 
method after reading the PEP... so my first idea was right;)



More information about the Python-list mailing list