On Fri, Dec 10, 2010 at 2:41 AM, raymond.hettinger
<python-check...@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   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to