From: Dong-hee Na Date: Wed, 26 Apr 2017 16:55:21 +0000 (+0900) Subject: [3.5] bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1304) X-Git-Tag: v3.5.4rc1~190 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a626ec4e58c0bca1b4f71154e9e1da7e6d7e4a7;p=thirdparty%2FPython%2Fcpython.git [3.5] bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1304) --- diff --git a/Doc/library/2to3.rst b/Doc/library/2to3.rst index ace1bfaf8cb9..4c9a528d42e7 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