Skip to content

Commit a90b990

Browse files
corona10Mariatta
authored andcommitted
bpo-30142: Remove "callable" from the 2to3fixer documentation. (pythonGH-1296)
1 parent ab7886b commit a90b990

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Doc/library/2to3.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,6 @@ and off individually. They are described here in more detail.
199199
because the :class:`memoryview` API is similar but not exactly the same as
200200
that of :class:`buffer`.
201201
202-
.. 2to3fixer:: callable
203-
204-
Converts ``callable(x)`` to ``isinstance(x, collections.Callable)``, adding
205-
an import to :mod:`collections` if needed. Note ``callable(x)`` has returned
206-
in Python 3.2, so if you do not intend to support Python 3.1, you can disable
207-
this fixer.
208-
209202
.. 2to3fixer:: dict
210203
211204
Fixes dictionary iteration methods. :meth:`dict.iteritems` is converted to

0 commit comments

Comments
 (0)