[Python-checkins] r63037 - python/trunk/Doc/tutorial/modules.rst

georg.brandl python-checkins at python.org
Sun May 11 09:02:18 CEST 2008


Author: georg.brandl
Date: Sun May 11 09:02:17 2008
New Revision: 63037

Log:
reload() takes the module itself.


Modified:
   python/trunk/Doc/tutorial/modules.rst

Modified: python/trunk/Doc/tutorial/modules.rst
==============================================================================
--- python/trunk/Doc/tutorial/modules.rst	(original)
+++ python/trunk/Doc/tutorial/modules.rst	Sun May 11 09:02:17 2008
@@ -108,7 +108,7 @@
    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:


More information about the Python-checkins mailing list