A better self
Greg Ewing
see_reply_address at something.invalid
Wed Jul 10 00:44:37 EDT 2002
Erik Max Francis wrote:
> so that the notation `.attribute' is just a shortcut for
> `self.attribute'.
Or it could be a shorthand for <whatever_the_first_arg_is>.attribute,
so you could still call the first arg something else.
But I tend to agree that a leading "." is a bit
*too* unobtrusive!
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list