[Python-Dev] weird docstring generated by argument clinic (original) (raw)

Stefan Behnel stefan_ml at behnel.de
Thu Jan 30 08:19:33 CET 2014


Guido van Rossum, 30.01.2014 07:36:

I suppose it's related to this checkin: [...] Issue #20326: Argument Clinic now uses a simple, unique signature to annotate text signatures in docstrings, resulting in fewer false positives.[...]

Thanks, I'll comment there.

On Wed, Jan 29, 2014 at 10:25 PM, Stefan Behnel wrote:

for two days now, the signature embedding tests in Cython have been failing with this (doctest) error:

""" Expected: fD(long double D) -> long double Got: fDNone fD(long double D) -> long double """

And I should have checked a bit more deeply. The None part here is the text_signature, which is no longer filled. The commit above explains it.

Stefan



More information about the Python-Dev mailing list