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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5850389a10f5d3de0704badef43fe8072423b273;p=thirdparty%2FPython%2Fcpython.git revert r75090 --- diff --git a/Doc/whatsnew/3.0.rst b/Doc/whatsnew/3.0.rst index 2ba635ae4b15..943457312f63 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.