mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
reload() takes the module itself.
This commit is contained in:
parent
2a86913864
commit
605a0c6f7f
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ This imports all names except those beginning with an underscore (``_``).
|
|||
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue