Message199714
| Author |
ncoghlan |
| Recipients |
arigo, eli.bendersky, eric.snow, ethan.furman, ncoghlan, ronaldoussoren |
| Date |
2013年10月13日.14:59:05 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1381676345.36.0.340997699313.issue16938@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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*. |
|