We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5850389 commit 36e0d0eCopy full SHA for 36e0d0e
1 file changed
Doc/whatsnew/3.0.rst
@@ -804,8 +804,8 @@ Builtins
804
``f(*args)``.
805
806
* Removed :func:`callable`. Instead of ``callable(f)`` you can use
807
- ``hasattr(f, '__call__')``. The :func:`operator.isCallable` function
808
- is also gone.
+ ``isinstance(f, collections.Callable)``. The :func:`operator.isCallable`
+ function is also gone.
809
810
* Removed :func:`coerce`. This function no longer serves a purpose
811
now that classic classes are gone.
0 commit comments