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/2010-December/106633.html below:

[Python-Dev] [Python-checkins] r87145 - python/branches/py3k/Doc/whatsnew/3.2.rst

[Python-Dev] [Python-checkins] r87145 - python/branches/py3k/Doc/whatsnew/3.2.rst [Python-Dev] [Python-checkins] r87145 - python/branches/py3k/Doc/whatsnew/3.2.rstNick Coghlan ncoghlan at gmail.com
Thu Dec 9 23:18:00 CET 2010
On Fri, Dec 10, 2010 at 2:41 AM, raymond.hettinger
<python-checkins at python.org> wrote:
> @@ -588,7 +593,12 @@
>   pointing to the original callable function.  This allows wrapped functions to
>   be introspected.  It also copies :attr:`__annotations__` if defined.  And now
>   it also gracefully skips over missing attributes such as :attr:`__doc__` which
> -  might not be defined for the wrapped callable.
> +  might not be defined for the wrapped callable:
> +
> +  >>> callable(max)
> +  True
> +  >>> callable(20)
> +  False

Placeholder example?

Cheers,
Nick.

--
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
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