From: Dong-hee Na Date: Wed, 26 Apr 2017 16:16:21 +0000 (+0900) Subject: bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1296) X-Git-Tag: v3.7.0a1~896 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a90b990480f45b6a0ad02d43455cf8b620bac9c5;p=thirdparty%2FPython%2Fcpython.git bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1296) --- 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