summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2015-05-02 19:02:30 (GMT)
committerR David Murray <rdmurray@bitdance.com>2015-05-02 19:02:30 (GMT)
commit11d041a0452716ed832df068d1d4aae0c43b0c4b (patch)
treef6f7d17c6dd2c4f70a52fe69d7e8909c1df92218 /Doc/library
parent79f2c5b8e0b110724290c04eb1883a4c747f5591 (diff)
downloadcpython-11d041a0452716ed832df068d1d4aae0c43b0c4b.zip
cpython-11d041a0452716ed832df068d1d4aae0c43b0c4b.tar.gz
cpython-11d041a0452716ed832df068d1d4aae0c43b0c4b.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.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/functions.rst6
1 files changed, 0 insertions, 6 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index c4be3ef..8af9f58 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1178,12 +1178,6 @@ section.
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