John Mendelewski <john.mendelewski <at> gmail.com> writes: > > What goes on behind the scenes to make a.do() evaluate the do > method with a bound to self in that method? Is this implemented > in C, Python? I think I have a grasp of how to use objects, but > I was wondering about the implementation I suppose.
This is implemented using descriptors. See http://users.rcn.com/python/download/Descriptor.htm for a good overview. -- http://mail.python.org/mailman/listinfo/python-list