Nick Coghlan added the comment: No, __class__ on a descriptor has *NOTHING* to do with how it was looked up. It's the class of the *result*.
>> property.__class__ <class 'type'> >>> staticmethod.__class__ <class 'type'> >>> classmethod.__class__ <class 'type'> It's completely irrelevant to determining *where the attribute came from*. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16938> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com