From: Benjamin Peterson Date: Sun, 27 Sep 2009 16:42:15 +0000 (+0000) Subject: Merged revisions 75090 via svnmerge from X-Git-Tag: v3.1.2rc1~484 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47373ded99d6062b4cd968061a1ab7a6101bada9;p=python Merged revisions 75090 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r75090 | benjamin.peterson | 2009-09-27 11:32:56 -0500 (Sun, 27 Sep 2009) | 1 line use more correct callable replacement ........ --- diff --git a/Doc/whatsnew/3.0.rst b/Doc/whatsnew/3.0.rst index 943457312f..2ba635ae4b 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(f, '__call__')``. The :func:`operator.isCallable` function - is also gone. + ``hasattr(type(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.