On 02/04/2014 05:19 AM, Victor Stinner wrote:
2014-02-04 Larry Hastings <la...@hastings.org>:
Why couldn't these tools use inspect.Signature?
inspect.Signature was added in Python 3.3. Python 2 is still widely
used, and some Linux distro only provide Python 3.2.

By the way, help(dict.fromkeys) looks to use __doc__, not the
signature, because the prototype is also missing.

It's a regression.

In 3.4, inspect.getfullargspec and inspect.getargspec are being reimplemented using inspect.Signature.

I don't understand your bringing up Python 2 and Python 3.2. Are there programs that run under Python 2 and Python 3.2 that examine docstrings from Python 3.4?


//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

Reply via email to