summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-12-28 20:51:17 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-12-28 20:51:17 (GMT)
commit0d19eaf1eb1d4c110d4ec6826a5b30343b63e7e6 (patch)
tree6744bcf31763c6c8be0c3c780bb274847c8554a0 /Doc
parent66d8d69cd8754b76cb36a041d1c37e72b188378f (diff)
downloadcpython-0d19eaf1eb1d4c110d4ec6826a5b30343b63e7e6.zip
cpython-0d19eaf1eb1d4c110d4ec6826a5b30343b63e7e6.tar.gz
cpython-0d19eaf1eb1d4c110d4ec6826a5b30343b63e7e6.tar.bz2
document new fix_callable behavior
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/2to3.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/2to3.rst b/Doc/library/2to3.rst
index d9eb00c..20a6245 100644
--- a/Doc/library/2to3.rst
+++ b/Doc/library/2to3.rst
@@ -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