In article <[email protected]>, Dennis Lee Bieber <[email protected]> wrote:
> On Sun, 2 Mar 2014 22:16:31 -0800 (PST), Westley MartÃnez > <[email protected]> declaimed the following: > > >I understand that in an object method the first argument in the object > >itself, called self. However, it doesn't have to be called self, and can be > >called anything. So my question is why is it called self and not this like > >from C++ and Java. It's kind of a silly question, but one that I'm curious > >about nevertheless. > > > > It didn't want to be egotistical (as I recall, M$ VB uses "me") And Freud uses "id", but that was taken already in Python :-)
-- https://mail.python.org/mailman/listinfo/python-list
