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.
2 parents 709c2ae + 80538e9 commit a8a3a1bCopy full SHA for a8a3a1b
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