Re: [Python-Dev] weird docstring generated by argument clinic

2014年1月29日 23:21:32 -0800

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:
>> f_D(long double D) -> long double
>> Got:
>> f_DNone
>> f_D(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
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to