We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaf16ab commit 7e732a7Copy full SHA for 7e732a7
Doc/reference/import.rst
@@ -200,7 +200,7 @@ of the module to result in an :exc:`ImportError`.
200
Beware though, as if you keep a reference to the module object,
201
invalidate its cache entry in :data:`sys.modules`, and then re-import the
202
named module, the two module objects will *not* be the same. By contrast,
203
-:func:`imp.reload` will reuse the *same* module object, and simply
+:func:`importlib.reload` will reuse the *same* module object, and simply
204
reinitialise the module contents by rerunning the module's code.
205
206
0 commit comments