On 02/04/2014 05:24 AM, Antoine Pitrou wrote:
On Tue, 04 Feb 2014 05:08:28 -0800
Larry Hastings <la...@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.
inspect.getargspec and inspect.getfullargspec in 3.4 use
inspect.Signature to get the signatures of builtins.
Does this address your concerns?
//arry/
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com