From: Benjamin Peterson Date: Mon, 24 Oct 2011 12:51:15 +0000 (-0400) Subject: note callable is back in 3.2 X-Git-Tag: v2.7.3rc1~381^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=414ffa86b5d8286b7d24ac35677bd90b98fe21b4;p=python note callable is back in 3.2 --- diff --git a/Doc/library/2to3.rst b/Doc/library/2to3.rst index 555675c980..bfc1f02335 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