summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-09-27 16:42:15 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-09-27 16:42:15 (GMT)
commit47373ded99d6062b4cd968061a1ab7a6101bada9 (patch)
tree95eb50a26581670c93d67431ff5e6a63563a0ae6 /Doc
parent029625c3f6bf3a205a04f067facaae21174ef48a (diff)
downloadcpython-47373ded99d6062b4cd968061a1ab7a6101bada9.zip
cpython-47373ded99d6062b4cd968061a1ab7a6101bada9.tar.gz
cpython-47373ded99d6062b4cd968061a1ab7a6101bada9.tar.bz2
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 ........
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.0.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.0.rst b/Doc/whatsnew/3.0.rst
index 9434573..2ba635a 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(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.