Does the first argument of a method *has to be* self?
William.Tanksley at p98.f112.n480.z2.fidonet.org
Wed Jun 30 22:35:49 CEST 1999
From: wtanksle at dolphin.openprojects.net (William Tanksley)
On Wed, 30 Jun 1999 22:21:21 +0200, Gerrit Holl wrote:
>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.
-William "Billy" Tanksley
More information about the Python-list