document new fix_callable behavior

This commit is contained in:
Benjamin Peterson 2009-12-28 20:51:17 +00:00
parent 66d8d69cd8
commit 0d19eaf1eb
1 changed files with 2 additions and 1 deletions

View File

@ -122,7 +122,8 @@ and off individually. They are described here in more detail.
.. 2to3fixer:: callable .. 2to3fixer:: callable
Converts ``callable(x)`` to ``hasattr(x, "__call_")``. Converts ``callable(x)`` to ``isinstance(x, collections.Callable)``, adding
an import to :mod:`collections` if needed.
.. 2to3fixer:: dict .. 2to3fixer:: dict