summaryrefslogtreecommitdiffstats
path: root/Doc/library/2to3.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-12-08 03:44:10 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-12-08 03:44:10 (GMT)
commit448e81b2da41e2ad89302cc8cb384795f9f6306c (patch)
tree97798e92a82e2a2bc27085ec73eff1675a090c42 /Doc/library/2to3.rst
parente7f2186f994f84e050b869559132d28d4fe26614 (diff)
downloadcpython-448e81b2da41e2ad89302cc8cb384795f9f6306c.zip
cpython-448e81b2da41e2ad89302cc8cb384795f9f6306c.tar.gz
cpython-448e81b2da41e2ad89302cc8cb384795f9f6306c.tar.bz2
add fixer for reload() -> imp.reload() (closes #11797)\n\nPatch by Laurie Clark-Michalek and Berker Peksag
Diffstat (limited to 'Doc/library/2to3.rst')
-rw-r--r--Doc/library/2to3.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/2to3.rst b/Doc/library/2to3.rst
index d07aaa1..b324aa6 100644
--- a/Doc/library/2to3.rst
+++ b/Doc/library/2to3.rst
@@ -343,6 +343,10 @@ and off individually. They are described here in more detail.
Handles the move of :func:`reduce` to :func:`functools.reduce`.
+.. 2to3fixer:: reload
+
+ Converts :func:`reload` to :func:`imp.reload`.
+
.. 2to3fixer:: renames
Changes :data:`sys.maxint` to :data:`sys.maxsize`.