A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-February/132266.html below:

[Python-Dev] __doc__ regression

[Python-Dev] __doc__ regression [Python-Dev] __doc__ regressionGeorg Brandl g.brandl at gmx.net
Tue Feb 4 18:34:34 CET 2014
Am 04.02.2014 14:19, schrieb Victor Stinner:
> 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.

Well, Python 2 won't be able to introspect C modules written and
compiled for Python 3.x anyway.

And __text_signature__ can be used by any Python 3.x with no loss of
expressivity (handling strings in both cases).

Georg


More information about the Python-Dev mailing list

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