From: Benjamin Peterson Date: Sat, 3 Oct 2009 15:06:21 +0000 (+0000) Subject: revert r75090 X-Git-Tag: v3.2a1~2456 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5850389a10f5d3de0704badef43fe8072423b273;p=python revert r75090 --- diff --git a/Doc/whatsnew/3.0.rst b/Doc/whatsnew/3.0.rst index 2ba635ae4b..943457312f 100644 --- a/Doc/whatsnew/3.0.rst +++ b/Doc/whatsnew/3.0.rst @@ -804,8 +804,8 @@ Builtins ``f(*args)``. * Removed :func:`callable`. Instead of ``callable(f)`` you can use - ``hasattr(type(f), '__call__')``. The :func:`operator.isCallable` function is - also gone. + ``hasattr(f, '__call__')``. The :func:`operator.isCallable` function + is also gone. * Removed :func:`coerce`. This function no longer serves a purpose now that classic classes are gone.