Message199714
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*. |
|
| Date |
User |
Action |
Args |
| 2013-10-13 14:59:05 | ncoghlan | set | recipients:
+ ncoghlan, arigo, ronaldoussoren, eli.bendersky, ethan.furman, eric.snow |
| 2013-10-13 14:59:05 | ncoghlan | set | messageid: <[email protected]> |
| 2013-10-13 14:59:05 | ncoghlan | link | issue16938 messages |
| 2013-10-13 14:59:05 | ncoghlan | create | |
|