diff options
author | Georg Brandl <georg@python.org> | 2008-05-11 07:02:17 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-11 07:02:17 (GMT) |
commit | 605a0c6f7f4e91b0a42d20b3aef4b6df75dce06f (patch) | |
tree | fc9e56e6e8dacbd74268cfde7a8aa3f4e037d8f8 /Doc | |
parent | 2a869138645a38bea2517d00133158567a39caaf (diff) | |
download | cpython-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.rst | 2 |
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: |