We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a126893 commit ccdb58cCopy full SHA for ccdb58c
1 file changed
Doc/faq/programming.rst
@@ -2218,6 +2218,10 @@ changed module, do this::
2218
import modname
2219
importlib.reload(modname)
2220
2221
+Note that :func:`importlib.reload` was originally designed for use in
2222
+development and debugging, not for use in production code. Reloading modules
2223
+in a running program is tricky and error-prone.
2224
+
2225
Warning: this technique is not 100% fool-proof. In particular, modules
2226
containing statements like ::
2227
0 commit comments