Message226859
| Author |
martin.panter |
| Recipients |
Claudiu.Popa, berker.peksag, bignose, eric.araujo, eric.snow, martin.panter, matrixise, r.david.murray, rhettinger, yselivanov |
| Date |
2014年09月13日.23:59:01 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1410652741.37.0.648213198664.issue12916@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Although it is not documented, inspect.getdoc() may return None instead of a documentation string. In patch 2, inspect.splitdoc() only accepts a string; perhaps it should also accept None? Otherwise you might have to use it like this:
[summary, body] = splitdoc(getdoc(api) or "") |
|