Commit 6b2d8873 authored by Benjamin Peterson's avatar Benjamin Peterson

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
........
parent ea3aa067
...@@ -804,8 +804,8 @@ Builtins ...@@ -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(f, '__call__')``. The :func:`operator.isCallable` function ``hasattr(type(f), '__call__')``. The :func:`operator.isCallable` function is
is also gone. 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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment