From 605a0c6f7f4e91b0a42d20b3aef4b6df75dce06f Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 11 May 2008 07:02:17 +0000 Subject: reload() takes the module itself. --- Doc/tutorial/modules.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tutorial/modules.rst b/Doc/tutorial/modules.rst index 975e13e..7a5af4f 100644 --- a/Doc/tutorial/modules.rst +++ b/Doc/tutorial/modules.rst @@ -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 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:`reload`, e.g. ``reload('modulename')``. + use :func:`reload`, e.g. ``reload(modulename)``. .. _tut-modulesasscripts: -- cgit v0.12