diff options
| author | Benjamin Peterson <benjamin@python.org> | 2011-10-24 08:51:15 -0400 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2011-10-24 08:51:15 -0400 |
| commit | d6ca6c2b32118fec10d28b1a23d97f8e6b536d04 (patch) | |
| tree | f89229031b4491fe8cb017395455fb6ba859b1ba /Doc/library | |
| parent | c45fb25fba9ef8a1d322099db86be98775d37bec (diff) | |
| download | cpython-git-d6ca6c2b32118fec10d28b1a23d97f8e6b536d04.tar.gz | |
note callable is back in 3.2
Diffstat (limited to 'Doc/library')
| -rw-r--r-- | Doc/library/2to3.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/2to3.rst b/Doc/library/2to3.rst index b3efeab21c..fe1c2bedee 100644 --- a/Doc/library/2to3.rst +++ b/Doc/library/2to3.rst @@ -123,7 +123,9 @@ and off individually. They are described here in more detail. .. 2to3fixer:: callable Converts ``callable(x)`` to ``isinstance(x, collections.Callable)``, adding - an import to :mod:`collections` if needed. + 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 |
