summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/whatsnew/3.0.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.0.rst b/Doc/whatsnew/3.0.rst
index 9434573..b79ce7f 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.
+ ``isinstance(f, collections.Callable)``. The :func:`operator.isCallable`
+ function is also gone.
* Removed :func:`coerce`. This function no longer serves a purpose
now that classic classes are gone.