]> granicus.if.org Git - python/commitdiff
revert r75090
authorBenjamin Peterson <benjamin@python.org>
Sat, 3 Oct 2009 15:06:21 +0000 (15:06 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sat, 3 Oct 2009 15:06:21 +0000 (15:06 +0000)
Doc/whatsnew/3.0.rst

index 2ba635ae4b15500cb8fcfa4269ebcc7680803a85..943457312f635eb6361741d8b0e7c377e73f3b2c 100644 (file)
@@ -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.