]> granicus.if.org Git - python/commitdiff
note callable is back in 3.2
authorBenjamin Peterson <benjamin@python.org>
Mon, 24 Oct 2011 12:51:15 +0000 (08:51 -0400)
committerBenjamin Peterson <benjamin@python.org>
Mon, 24 Oct 2011 12:51:15 +0000 (08:51 -0400)
Doc/library/2to3.rst

index 555675c980ec6b59596a8dfc289665dfa09361be..bfc1f02335ac707f6200d7b4fd17d1390c1f8dbb 100644 (file)
@@ -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