Zachary Ware added the comment: Something about like this? Note that this does change the behavior in the case where the whole docstring is empty but provided (such as when WITH_DOC_STRINGS == 0; see the changed line in test_capi).
---------- Added file: http://bugs.python.org/file36275/issue20586.v2.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20586> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com