summaryrefslogtreecommitdiff
path: root/Doc/tutorial/modules.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-12-15 08:28:37 +0000
committerGeorg Brandl <georg@python.org>2008-12-15 08:28:37 +0000
commitabffe71dc1be222b9b9b203ded10d265ca39ef9d (patch)
tree5e47930853f8a04eb484e3149d9d9064637b84e4 /Doc/tutorial/modules.rst
parent8206695c4b75e8db8d6d750dc5ba74cf8dfb31b4 (diff)
downloadcpython-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.rst2
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: