Message209025
| Author |
larry |
| Recipients |
Claudiu.Popa, Yury.Selivanov, larry, michael.foord, ncoghlan, terry.reedy, yselivanov |
| Date |
2014年01月23日.23:56:37 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1390521397.89.0.616588724718.issue17481@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
My solution for pydoc was to call isroutine() instead of isfunction(), and yes handle it throwing an exception.
(I just checked, and I wasn't catching TypeError, only ValueError. I'll fix that in my next patch for #20189.) |
|