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 75636af commit 5770847Copy full SHA for 5770847
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.
+ ``hasattr(type(f), '__call__')``. 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