File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,12 +149,6 @@ This module provides an interface to the mechanisms used to implement the
149149
150150 There are a number of other caveats:
151151
152- If a module is syntactically correct but its initialization fails, the first
153- :keyword: `import ` statement for it does not bind its name locally, but does
154- store a (partially initialized) module object in ``sys.modules ``. To reload the
155- module you must first :keyword: `import ` it again (this will bind the name to the
156- partially initialized module object) before you can :func: `reload ` it.
157-
158152 When a module is reloaded, its dictionary (containing the module's global
159153 variables) is retained. Redefinitions of names will override the old
160154 definitions, so this is generally not a problem. If the new version of a module
Original file line number Diff line number Diff line change @@ -159,12 +159,6 @@ Functions
159159
160160 There are a number of other caveats:
161161
162- If a module is syntactically correct but its initialization fails, the first
163- :keyword: `import ` statement for it does not bind its name locally, but does
164- store a (partially initialized) module object in ``sys.modules ``. To reload
165- the module you must first :keyword: `import ` it again (this will bind the name
166- to the partially initialized module object) before you can :func: `reload ` it.
167-
168162 When a module is reloaded, its dictionary (containing the module's global
169163 variables) is retained. Redefinitions of names will override the old
170164 definitions, so this is generally not a problem. If the new version of a
You can’t perform that action at this time.
0 commit comments