[Python-checkins] r75212 - python/branches/py3k/Doc/whatsnew/3.0.rst

benjamin.peterson python-checkins at python.org
Sat Oct 3 17:06:21 CEST 2009


Author: benjamin.peterson
Date: Sat Oct  3 17:06:21 2009
New Revision: 75212

Log:
revert r75090

Modified:
   python/branches/py3k/Doc/whatsnew/3.0.rst

Modified: python/branches/py3k/Doc/whatsnew/3.0.rst
==============================================================================
--- python/branches/py3k/Doc/whatsnew/3.0.rst	(original)
+++ python/branches/py3k/Doc/whatsnew/3.0.rst	Sat Oct  3 17:06:21 2009
@@ -804,8 +804,8 @@
   ``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.


More information about the Python-checkins mailing list