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 332334f commit 80538e9Copy full SHA for 80538e9
Doc/tutorial/modules.rst
@@ -117,7 +117,8 @@ use it to save typing in interactive sessions.
117
For efficiency reasons, each module is only imported once per interpreter
118
session. Therefore, if you change your modules, you must restart the
119
interpreter -- or, if it's just one module you want to test interactively,
120
- use :func:`imp.reload`, e.g. ``import imp; imp.reload(modulename)``.
+ use :func:`importlib.reload`, e.g. ``import importlib;
121
+ importlib.reload(modulename)``.
122
123
124
.. _tut-modulesasscripts:
0 commit comments