mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Merged revisions 75090 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r75090 | benjamin.peterson | 2009-09-27 11:32:56 -0500 (Sun, 27 Sep 2009) | 1 line use more correct callable replacement ........
This commit is contained in:
parent
029625c3f6
commit
47373ded99
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
``hasattr(type(f), '__call__')``. The :func:`operator.isCallable` function is
|
||||
also gone.
|
||||
|
||||
* Removed :func:`coerce`. This function no longer serves a purpose
|
||||
now that classic classes are gone.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue