Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 605a0c6

Browse files
committed
reload() takes the module itself.
1 parent 2a86913 commit 605a0c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/tutorial/modules.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ This imports all names except those beginning with an underscore (``_``).
108108
For efficiency reasons, each module is only imported once per interpreter
109109
session. Therefore, if you change your modules, you must restart the
110110
interpreter -- or, if it's just one module you want to test interactively,
111-
use :func:`reload`, e.g. ``reload('modulename')``.
111+
use :func:`reload`, e.g. ``reload(modulename)``.
112112

113113

114114
.. _tut-modulesasscripts:

0 commit comments

Comments
 (0)