summaryrefslogtreecommitdiffstats
path: root/Doc/library/imp.rst
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-06-14 19:04:26 (GMT)
committerBrett Cannon <brett@python.org>2013-06-14 19:04:26 (GMT)
commit3fe35e65034de82c45e2d8fe1ebe4a2929c68453 (patch)
tree5417c105714337f251daf3eb8be5f6762d273d99 /Doc/library/imp.rst
parent6f1057605b26c34b30c562a1b620984ed1211f39 (diff)
downloadcpython-3fe35e65034de82c45e2d8fe1ebe4a2929c68453.zip
cpython-3fe35e65034de82c45e2d8fe1ebe4a2929c68453.tar.gz
cpython-3fe35e65034de82c45e2d8fe1ebe4a2929c68453.tar.bz2
Issue #18193: Add importlib.reload(), documenting (but not
implementing in code) the deprecation of imp.reload(). Thanks to Berker Peksag for the patch.
Diffstat (limited to 'Doc/library/imp.rst')
-rw-r--r--Doc/library/imp.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/imp.rst b/Doc/library/imp.rst
index e090e00..8a75d4c 100644
--- a/Doc/library/imp.rst
+++ b/Doc/library/imp.rst
@@ -171,6 +171,9 @@ This module provides an interface to the mechanisms used to implement the
the class does not affect the method definitions of the instances --- they
continue to use the old class definition. The same is true for derived classes.
+ .. deprecated:: 3.4
+ Use :func:`importlib.reload` instead.
+
The following functions are conveniences for handling :pep:`3147` byte-compiled
file paths.