projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c45fb25
)
note callable is back in 3.2
author
Benjamin Peterson
<benjamin@python.org>
Mon, 24 Oct 2011 12:51:15 +0000
(08:51 -0400)
committer
Benjamin Peterson
<benjamin@python.org>
Mon, 24 Oct 2011 12:51:15 +0000
(08:51 -0400)
Doc/library/2to3.rst
patch
|
blob
|
history
diff --git
a/Doc/library/2to3.rst
b/Doc/library/2to3.rst
index b3efeab21c9c380eba11a78b19a290ad32032325..fe1c2bedeec52671d211a177723c517c42605b7d 100644
(file)
--- 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