Newbie question: what's with "self"?

Bruno Desthuilliers onurb at xiludom.gro
Tue Aug 8 14:27:33 EDT 2006


Miki wrote:
(snip)

> If you know C++/Java then "self" is like "this".

But in Python, it's mandatory and must be the first arg for instance
methods.



More information about the Python-list mailing list