diff options
| author | Georg Brandl <georg@python.org> | 2008-12-15 08:28:37 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2008-12-15 08:28:37 +0000 |
| commit | abffe71dc1be222b9b9b203ded10d265ca39ef9d (patch) | |
| tree | 5e47930853f8a04eb484e3149d9d9064637b84e4 /Doc/tutorial/modules.rst | |
| parent | 8206695c4b75e8db8d6d750dc5ba74cf8dfb31b4 (diff) | |
| download | cpython-git-abffe71dc1be222b9b9b203ded10d265ca39ef9d.tar.gz | |
#4667: fix some 2.x leftovers in the tutorial.
Diffstat (limited to 'Doc/tutorial/modules.rst')
| -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 1b3cbc556e..aca553dbc2 100644 --- a/Doc/tutorial/modules.rst +++ b/Doc/tutorial/modules.rst @@ -112,7 +112,7 @@ you have already defined. 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:`imp.reload`, e.g. ``import imp; imp.reload(modulename)``. .. _tut-modulesasscripts: |
