reload() takes the module itself.

This commit is contained in:
Georg Brandl 2008-05-11 07:02:17 +00:00
parent 2a86913864
commit 605a0c6f7f
1 changed files with 1 additions and 1 deletions

View File

@ -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: