reason/history of self
Giorgi Lekishvili
gleki at gol.ge
Wed Jan 16 16:20:34 EST 2002
Yeah, this discussion had place just 1 week ago, on 9.01.02.
Grtz,
Giorgi
gabor farkas wrote:
> hi,
>
> i'm sure this was discussed before, but i cant find it..
>
> why do i have to write self as the first parameter of a method in the
> method-definition?
>
> class......
> def method(self): <- here
> ....
> ..
>
> it seems to me as unnecessary, because i have to write it everytime..
>
> bye,
> gabor
More information about the Python-list
mailing list