On Aug 3, 5:44 am, Nick Dumas <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> It's also worth noting that you can use a different name for the object
> that represents your class. If you did def __init__(foo):pass, then you
> would be able to access the class's objects with foo.objectname. Using
> self is simply the recommended standard.

That is not a problem either. What the OP wanted could apply
regardless of what the first argument is named. In fact, an advantage
of what the OP requested would be that a person reading the code need
not be concerned with the name of the first argument.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to