better callable replacement
This commit is contained in:
parent
83c6da24e1
commit
1c2ec30d5d
|
@ -183,7 +183,7 @@ To be removed:
|
||||||
|
|
||||||
* ``apply()``: use ``f(*args, **kw)`` instead [2]_ [done]
|
* ``apply()``: use ``f(*args, **kw)`` instead [2]_ [done]
|
||||||
* ``buffer()``: must die (use a bytes() type 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]_
|
* ``compile()``: put in ``sys`` (or perhaps in a module of its own) [2]_
|
||||||
* ``coerce()``: no longer needed [2]_ [done]
|
* ``coerce()``: no longer needed [2]_ [done]
|
||||||
* ``execfile()``, ``reload()``: use ``exec()`` [2]_ [done]
|
* ``execfile()``, ``reload()``: use ``exec()`` [2]_ [done]
|
||||||
|
|
Loading…
Reference in New Issue