summaryrefslogtreecommitdiffstats
path: root/Doc/library/2to3.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-10-24 12:51:15 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-10-24 12:51:15 (GMT)
commit414ffa86b5d8286b7d24ac35677bd90b98fe21b4 (patch)
tree957ffaeb43f7a6d0a2456daad3ebed1ec61ceefa /Doc/library/2to3.rst
parentb21f51a9d0a55a7ab3af99da9f8c19dfc356c017 (diff)
downloadcpython-414ffa86b5d8286b7d24ac35677bd90b98fe21b4.zip
cpython-414ffa86b5d8286b7d24ac35677bd90b98fe21b4.tar.gz
cpython-414ffa86b5d8286b7d24ac35677bd90b98fe21b4.tar.bz2
note callable is back in 3.2
Diffstat (limited to 'Doc/library/2to3.rst')
-rw-r--r--Doc/library/2to3.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/2to3.rst b/Doc/library/2to3.rst
index 555675c..bfc1f02 100644
--- a/Doc/library/2to3.rst
+++ b/Doc/library/2to3.rst
@@ -123,7 +123,9 @@ and off individually. They are described here in more detail.
.. 2to3fixer:: callable
Converts ``callable(x)`` to ``isinstance(x, collections.Callable)``, adding
- an import to :mod:`collections` if needed.
+ an import to :mod:`collections` if needed. Note ``callable(x)`` has returned
+ in Python 3.2, so if you do not intend to support Python 3.1, you can disable
+ this fixer.
.. 2to3fixer:: dict