]> granicus.if.org Git - python/commitdiff
reload() takes the module itself.
authorGeorg Brandl <georg@python.org>
Sun, 11 May 2008 07:02:17 +0000 (07:02 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 11 May 2008 07:02:17 +0000 (07:02 +0000)
Doc/tutorial/modules.rst

index 975e13eb6b3b80d4df12355d633daba589200caf..7a5af4ffdbc411c6636d0734944b1ea93fb6bbce 100644 (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
    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: