Message241383
| Author |
ionelmc |
| Recipients |
Claudiu.Popa, belopolsky, christian.heimes, ethan.furman, ionelmc, jedwards, llllllllll |
| Date |
2015年04月17日.23:31:06 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1429313466.67.0.394324923285.issue23990@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Actually it does address it, as AttributeError is very special:
>>> a.__call__
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 4, in __call__
AttributeError: go away
>>> hasattr(a, '__call__')
False |
|