[Python-Dev] __doc__ regression
Antoine Pitrou
solipsis at pitrou.net
Tue Feb 4 14:24:57 CET 2014
On Tue, 04 Feb 2014 05:08:28 -0800
Larry Hastings <larry at hastings.org> wrote:
> On 02/04/2014 04:17 AM, Antoine Pitrou wrote:
> > As you see the signature string has vanished from the __doc__ contents.
> > This means that any tool directly processing __doc__ attributes to
> > generate (e.g.) automatic API docs will produce less useful docs.
>
> Why couldn't these tools use inspect.Signature?
Because it's new in 3.3? Most Python code has been written before that.
Regards
Antoine.
More information about the Python-Dev
mailing list