This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 "")
History
Date User Action Args
2014-09-13 23:59:01martin.pantersetrecipients: + martin.panter, rhettinger, eric.araujo, r.david.murray, Claudiu.Popa, bignose, eric.snow, berker.peksag, yselivanov, matrixise
2014-09-13 23:59:01martin.pantersetmessageid: <1410652741.37.0.648213198664.issue12916@psf.upfronthosting.co.za>
2014-09-13 23:59:01martin.panterlinkissue12916 messages
2014-09-13 23:59:01martin.pantercreate