reload() takes the module itself.
This commit is contained in:
parent
2a86913864
commit
605a0c6f7f
|
@ -108,7 +108,7 @@ This imports all names except those beginning with an underscore (``_``).
|
||||||
For efficiency reasons, each module is only imported once per interpreter
|
For efficiency reasons, each module is only imported once per interpreter
|
||||||
session. Therefore, if you change your modules, you must restart the
|
session. Therefore, if you change your modules, you must restart the
|
||||||
interpreter -- or, if it's just one module you want to test interactively,
|
interpreter -- or, if it's just one module you want to test interactively,
|
||||||
use :func:`reload`, e.g. ``reload('modulename')``.
|
use :func:`reload`, e.g. ``reload(modulename)``.
|
||||||
|
|
||||||
|
|
||||||
.. _tut-modulesasscripts:
|
.. _tut-modulesasscripts:
|
||||||
|
|
Loading…
Reference in New Issue