diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-10-24 12:51:15 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-10-24 12:51:15 (GMT) |
commit | 414ffa86b5d8286b7d24ac35677bd90b98fe21b4 (patch) | |
tree | 957ffaeb43f7a6d0a2456daad3ebed1ec61ceefa /Doc/library/2to3.rst | |
parent | b21f51a9d0a55a7ab3af99da9f8c19dfc356c017 (diff) | |
download | cpython-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.rst | 4 |
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 |