Why do class methods always need 'self' as the first parameter?

Grant Edwards invalid at invalid.invalid
Wed Aug 31 12:20:51 EDT 2011

On 2011-08-31, Steven D'Aprano <steve+comp.lang.python at pearwood.info> wrote:

> Well obviously the C++ people thought so :)

Well _that's_ certainly a ringing endorsement in the context of 
designing a language that's easy to understand and use. 


Grant Edwards               grant.b.edwards        Yow! Where's SANDY DUNCAN?

More information about the Python-list mailing list