Does the first argument of a method *has to be* self?

William Tanksley wtanksle at dolphin.openprojects.net
Wed Jun 30 16:35:49 EDT 1999


On Wed, 30 Jun 1999 22:21:21 +0200, Gerrit Holl wrote:
>Hello,

>I never saw code where the first argument of a method wasn't self. Is it
>in theory possible?

It's always self, although you're free to call it anything you want.

>Gerrit.

-- 
-William "Billy" Tanksley




More information about the Python-list mailing list