when and how do you use Self?
Dan Sommers
me at privacy.net
Thu Nov 3 11:15:56 EST 2005
On Thu, 3 Nov 2005 10:48:28 -0500,
Chris Cioffi <evenprimes at gmail.com> wrote:
> As a point of style: the 'other' identifier should only be used in
> Zen Metaclass programming as an implicit reference to the calling
> object or as a list of references to all other instances of the class.
> Context will make it both clear and obvious which use case is desired.
Can I use the 'other' identifier in, e.g., an __add__ method?
Please? ;-)
Regards,
Dan
--
Dan Sommers
<http://www.tombstonezero.net/dan/>
More information about the Python-list
mailing list