Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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