Commit 605a0c6f authored by Georg Brandl's avatar Georg Brandl

reload() takes the module itself.

parent 2a869138
...@@ -108,7 +108,7 @@ This imports all names except those beginning with an underscore (``_``). ...@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment