#4667: fix some 2.x leftovers in the tutorial.

This commit is contained in:
Georg Brandl 2008-12-15 08:28:37 +00:00
parent 8206695c4b
commit abffe71dc1
2 changed files with 5 additions and 3 deletions

View file

@ -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: