diff options
author | Brett Cannon <brett@python.org> | 2013-10-25 17:46:15 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2013-10-25 17:46:15 (GMT) |
commit | 6fd25c39c47fa8a0ceaf5b8b8189da39d2007400 (patch) | |
tree | 0617d11331e1f80feff24f4d7eef7d43342ad440 /Doc | |
parent | a4f6b006e1e9a6e9dd82a95714e55f18b008278c (diff) | |
download | cpython-6fd25c39c47fa8a0ceaf5b8b8189da39d2007400.zip cpython-6fd25c39c47fa8a0ceaf5b8b8189da39d2007400.tar.gz cpython-6fd25c39c47fa8a0ceaf5b8b8189da39d2007400.tar.bz2 |
Issue #19392: Document that imp.reload() now relies on __loader__
being defined on top of __name__.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/imp.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/imp.rst b/Doc/library/imp.rst index af98489..ebdbd4d 100644 --- a/Doc/library/imp.rst +++ b/Doc/library/imp.rst @@ -172,6 +172,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__``. + The following functions are conveniences for handling :pep:`3147` byte-compiled file paths. |