On 02/04/2014 05:19 AM, Victor Stinner wrote: > 2014-02-04 Larry Hastings <larry at 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/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20140204/d7d28e4b/attachment-0001.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4