mirror of
https://github.com/python/cpython.git
synced 2024-12-12 11:23:56 +08:00
revert r75090
This commit is contained in:
parent
81c9a95751
commit
5850389a10
@ -804,8 +804,8 @@ Builtins
|
|||||||
``f(*args)``.
|
``f(*args)``.
|
||||||
|
|
||||||
* Removed :func:`callable`. Instead of ``callable(f)`` you can use
|
* Removed :func:`callable`. Instead of ``callable(f)`` you can use
|
||||||
``hasattr(type(f), '__call__')``. The :func:`operator.isCallable` function is
|
``hasattr(f, '__call__')``. The :func:`operator.isCallable` function
|
||||||
also gone.
|
is also gone.
|
||||||
|
|
||||||
* Removed :func:`coerce`. This function no longer serves a purpose
|
* Removed :func:`coerce`. This function no longer serves a purpose
|
||||||
now that classic classes are gone.
|
now that classic classes are gone.
|
||||||
|
Loading…
Reference in New Issue
Block a user