From: Dong-hee Na Date: Wed, 26 Apr 2017 16:55:55 +0000 (+0900) Subject: [3.6] bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1303) X-Git-Tag: v3.6.2rc1~199 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2fc3c543fc93d6211de8dcfaeac3a0fd10a356e0;p=python [3.6] bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1303) --- diff --git a/Doc/library/2to3.rst b/Doc/library/2to3.rst index ace1bfaf8c..4c9a528d42 100644 --- a/Doc/library/2to3.rst +++ b/Doc/library/2to3.rst @@ -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