From: Georg Brandl Date: Sun, 11 May 2008 07:02:17 +0000 (+0000) Subject: reload() takes the module itself. X-Git-Tag: v2.6b1~514 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=605a0c6f7f4e91b0a42d20b3aef4b6df75dce06f;p=python reload() takes the module itself. --- diff --git a/Doc/tutorial/modules.rst b/Doc/tutorial/modules.rst index 975e13eb6b..7a5af4ffdb 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: