summaryrefslogtreecommitdiffstats
path: root/Doc/library/imp.rst
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-10-25 17:49:20 (GMT)
committerBrett Cannon <brett@python.org>2013-10-25 17:49:20 (GMT)
commit50aa32409bd181d8739d05515f14aa5d2d0d7f10 (patch)
tree2744cf669b44a0dcd96435db7a5abfb08cfa2521 /Doc/library/imp.rst
parentffd33c290b11e8c5e19be6063a07da3deed73e46 (diff)
parent6fd25c39c47fa8a0ceaf5b8b8189da39d2007400 (diff)
downloadcpython-50aa32409bd181d8739d05515f14aa5d2d0d7f10.zip
cpython-50aa32409bd181d8739d05515f14aa5d2d0d7f10.tar.gz
cpython-50aa32409bd181d8739d05515f14aa5d2d0d7f10.tar.bz2
merge from 3.3
Diffstat (limited to 'Doc/library/imp.rst')
-rw-r--r--Doc/library/imp.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/imp.rst b/Doc/library/imp.rst
index 5253e69..6647b9e 100644
--- a/Doc/library/imp.rst
+++ b/Doc/library/imp.rst
@@ -179,6 +179,10 @@ 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.
+ .. versionchanged:: 3.3
+ Relies on both ``__name__`` and ``__loader__`` being defined on the module
+ being reloaded instead of just ``__name__``.
+
.. deprecated:: 3.4
Use :func:`importlib.reload` instead.