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 zach.ware
Recipients larry, zach.ware
Date 2014-02-10.20:28:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392064106.25.0.899710933953.issue20586@psf.upfronthosting.co.za>
In-reply-to
Content
Builtins with a valid signature embedded in the docstring, but with no other docstring content are not picked up by the __text_signature__ getter because the docstring ends with ")\n--" rather than ")\n--\n\n".  The attached patch adjusts clinic.CLanguage.docstring_for_c_string to make sure that the rendered docstring ends in "--\n\n" rather than "--".

The result is a correct __text_signature__ and a __doc__ of ''.
History
Date User Action Args
2014-02-10 20:28:26zach.waresetrecipients: + zach.ware, larry
2014-02-10 20:28:26zach.waresetmessageid: <1392064106.25.0.899710933953.issue20586@psf.upfronthosting.co.za>
2014-02-10 20:28:26zach.warelinkissue20586 messages
2014-02-10 20:28:25zach.warecreate