|
|
|
@ -117,7 +117,8 @@ use it to save typing in interactive sessions. |
|
|
|
For efficiency reasons, each module is only imported once per interpreter |
|
|
|
session. Therefore, if you change your modules, you must restart the |
|
|
|
interpreter -- or, if it's just one module you want to test interactively, |
|
|
|
use :func:`imp.reload`, e.g. ``import imp; imp.reload(modulename)``. |
|
|
|
use :func:`importlib.reload`, e.g. ``import importlib; |
|
|
|
importlib.reload(modulename)``. |
|
|
|
|
|
|
|
|
|
|
|
.. _tut-modulesasscripts: |
|
|
|
|