diff options
author | R David Murray <rdmurray@bitdance.com> | 2015-05-02 18:57:54 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2015-05-02 18:57:54 (GMT) |
commit | 6d877ef0260b4b9bc2d722a6817818c06047e42a (patch) | |
tree | 6678940472ce69ef3a63c536685ce59b31f6ed27 /Doc/library/imp.rst | |
parent | c6249a6268ed4f191c01b28fa5c04417454d6625 (diff) | |
download | cpython-6d877ef0260b4b9bc2d722a6817818c06047e42a.zip cpython-6d877ef0260b4b9bc2d722a6817818c06047e42a.tar.gz cpython-6d877ef0260b4b9bc2d722a6817818c06047e42a.tar.bz2 |
#24081: Remove obsolete caveat from import docs.
Per Eric Snow's research, this changed in Python 2.4 in changeset 331e60d8ce,
but these docs were not updated.
Patch by Peter Viktorin.
Diffstat (limited to 'Doc/library/imp.rst')
-rw-r--r-- | Doc/library/imp.rst | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Doc/library/imp.rst b/Doc/library/imp.rst index c2dbdc5..83a52e4 100644 --- a/Doc/library/imp.rst +++ b/Doc/library/imp.rst @@ -149,12 +149,6 @@ This module provides an interface to the mechanisms used to implement the There are a number of other caveats: - If a module is syntactically correct but its initialization fails, the first - :keyword:`import` statement for it does not bind its name locally, but does - store a (partially initialized) module object in ``sys.modules``. To reload the - module you must first :keyword:`import` it again (this will bind the name to the - partially initialized module object) before you can :func:`reload` it. - When a module is reloaded, its dictionary (containing the module's global variables) is retained. Redefinitions of names will override the old definitions, so this is generally not a problem. If the new version of a module |