diff options
| author | Benjamin Peterson <benjamin@python.org> | 2009-10-03 15:06:21 (GMT) |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2009-10-03 15:06:21 (GMT) |
| commit | 5850389a10f5d3de0704badef43fe8072423b273 (patch) | |
| tree | 242c16a5d510f501c35a375d0bc0425a940dfe43 | |
| parent | 81c9a9575197020f180ad802ec53298bba3a30d7 (diff) | |
| download | cpython-5850389a10f5d3de0704badef43fe8072423b273.zip cpython-5850389a10f5d3de0704badef43fe8072423b273.tar.gz cpython-5850389a10f5d3de0704badef43fe8072423b273.tar.bz2 | |
revert r75090
| -rw-r--r-- | Doc/whatsnew/3.0.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.0.rst b/Doc/whatsnew/3.0.rst index 2ba635a..9434573 100644 --- a/Doc/whatsnew/3.0.rst +++ b/Doc/whatsnew/3.0.rst @@ -804,8 +804,8 @@ Builtins ``f(*args)``. * Removed :func:`callable`. Instead of ``callable(f)`` you can use - ``hasattr(type(f), '__call__')``. The :func:`operator.isCallable` function is - also gone. + ``hasattr(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. |
