mirror of
https://github.com/python/cpython
synced 2026-09-29 09:55:31 +03:00
bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1296)
This commit is contained in:
parent
ab7886b785
commit
a90b990480
1 changed files with 0 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue