summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-11 07:02:17 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-11 07:02:17 (GMT)
commit605a0c6f7f4e91b0a42d20b3aef4b6df75dce06f (patch)
treefc9e56e6e8dacbd74268cfde7a8aa3f4e037d8f8 /Doc
parent2a869138645a38bea2517d00133158567a39caaf (diff)
downloadcpython-605a0c6f7f4e91b0a42d20b3aef4b6df75dce06f.zip
cpython-605a0c6f7f4e91b0a42d20b3aef4b6df75dce06f.tar.gz
cpython-605a0c6f7f4e91b0a42d20b3aef4b6df75dce06f.tar.bz2
reload() takes the module itself.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tutorial/modules.rst2
1 files changed, 1 insertions, 1 deletions
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: