Barry Kelly wrote:
> I read in the documentation that these two expressions are
> interchangeable:
> x.__getattribute__('name') <==> x.name
I think you'll find:
getattr(x, 'name') <==> x.name
is what is equivalent. You can define a '__getattribute__'
method which will get used, but I doublbt thre is a promise for
an exposed name '__getattribute__'.
--
--Scott David Daniels
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
