]> granicus.if.org Git - python/commitdiff
[2.7] bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1305)
authorDong-hee Na <donghee.na92@gmail.com>
Wed, 26 Apr 2017 16:55:32 +0000 (01:55 +0900)
committerMariatta <Mariatta@users.noreply.github.com>
Wed, 26 Apr 2017 16:55:32 +0000 (09:55 -0700)
Doc/library/2to3.rst

index 0632f3cd50159fd98ba2e5132afb3bc4209e1b84..b782875d02b66ce4d1ac85d9f951896f18f592bb 100644 (file)
@@ -199,13 +199,6 @@ and off individually.  They are described here in more detail.
    because the :class:`memoryview` API is similar but not exactly the same as
    that of :class:`buffer`.
 
-.. 2to3fixer:: callable
-
-   Converts ``callable(x)`` to ``isinstance(x, collections.Callable)``, adding
-   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
 
    Fixes dictionary iteration methods.  :meth:`dict.iteritems` is converted to