document new fix_callable behavior
This commit is contained in:
parent
66d8d69cd8
commit
0d19eaf1eb
|
@ -122,7 +122,8 @@ and off individually. They are described here in more detail.
|
|||
|
||||
.. 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
|
||||
|
||||
|
|
Loading…
Reference in New Issue