Martin Panter added the comment:

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 "")

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12916>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to