Mercurial > cpython-lru_cache-weakref
diff Doc/tutorial/modules.rst @ 46860:fb14ff057c09 legacy-trunk
reload() takes the module itself.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sun, 11 May 2008 07:02:17 +0000 |
| parents | ccc337b45b2e |
| children | ee9ced92843a |
line wrap: on
line diff
--- a/Doc/tutorial/modules.rst Sun May 11 03:01:47 2008 +0000 +++ b/Doc/tutorial/modules.rst Sun May 11 07:02:17 2008 +0000 @@ -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:
