diff --git a/pep-3100.txt b/pep-3100.txt index 662073705..f8b6a078a 100644 --- a/pep-3100.txt +++ b/pep-3100.txt @@ -183,7 +183,7 @@ To be removed: * ``apply()``: use ``f(*args, **kw)`` instead [2]_ [done] * ``buffer()``: must die (use a bytes() type instead) (?) [2]_ [done] -* ``callable()``: just use hasattr(x, '__call__') (?) [2]_ [done] +* ``callable()``: just use isinstance(x, collections.Callable) (?) [2]_ [done] * ``compile()``: put in ``sys`` (or perhaps in a module of its own) [2]_ * ``coerce()``: no longer needed [2]_ [done] * ``execfile()``, ``reload()``: use ``exec()`` [2]_ [done]