mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
#4667: fix some 2.x leftovers in the tutorial.
This commit is contained in:
parent
8206695c4b
commit
abffe71dc1
2 changed files with 5 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue