On 24/12/12 16:31, bob gailer wrote:
On 12/23/2012 9:02 PM, Alan Gauld wrote:
You do realize that self is only defined inside a method?
Perhaps.
self is just another name - it could be "just" a variable, outside any
method.
True enough, but given the usage "self.A" it looks pretty certain in
this case it follows convention and signifies an instance.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor