]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#24081: Remove obsolete caveat from import docs.
authorR David Murray <rdmurray@bitdance.com>
Sat, 2 May 2015 19:02:30 +0000 (15:02 -0400)
committerR David Murray <rdmurray@bitdance.com>
Sat, 2 May 2015 19:02:30 +0000 (15:02 -0400)
Per Eric Snow's research, this changed in Python 2.4 in changeset 331e60d8ce,
but these docs were not updated.

Doc/library/functions.rst

index c4be3ef3386947bbe8ed51eecacbb10214ff79f0..8af9f582709cb8e1ebcd9391e248bbcc12da503d 100644 (file)
@@ -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