[Python-Dev] weird docstring generated by argument clinic
Stefan Behnel
stefan_ml at behnel.de
Thu Jan 30 08:19:33 CET 2014
More information about the Python-Dev mailing list
Thu Jan 30 08:19:33 CET 2014
- Previous message: [Python-Dev] weird docstring generated by argument clinic
- Next message: [Python-Dev] weird docstring generated by argument clinic
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] weird docstring generated by argument clinic
- Next message: [Python-Dev] weird docstring generated by argument clinic
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list