Skip to content

[2.7] bpo-30142: Remove "callable" from the 2to3fixer documentation. #1305

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 26, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions Doc/library/2to3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down