Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Doc/faq/programming.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2218,6 +2218,10 @@ changed module, do this::
import modname
importlib.reload(modname)

Note that :func:`importlib.reload` was originally designed for use in
development and debugging, not for use in production code. Reloading modules
in a running program is tricky and error-prone.

Warning: this technique is not 100% fool-proof. In particular, modules
containing statements like ::

Expand Down
Loading