Why the 'self' argument?
Bengt Richter
bokr at oz.net
Fri Sep 5 18:22:14 EDT 2003
On Fri, 5 Sep 2003 22:51:10 +0200, "Michael Peuser" <mpeuser at web.de> wrote:
>
>"Grzegorz Staniak" <gstaniak at inka.zagiel.pl>
>
>> I'm a newbie Python user, a systems administrator - I've been trying
>> to switch from Perl to Python for administrative tasks - and one thing
>> I cannot understand so far is why I need the special 'self' (or anything
>> esle) argument in class method definitions.
>
>You probably do not mean "class methods"; this a technical term in OOP.
>
I suspect the OP meant "class (method definitions)," not "(class method)" definitions." ;-)
Re "self," there must be a FAQ entry, but I'm too lazy to look for it.
Regards,
Bengt Richter
More information about the Python-list
mailing list