Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bebe91a commit 25187e6Copy full SHA for 25187e6
1 file changed
Doc/tutorial/modules.rst
@@ -72,7 +72,8 @@ More on Modules
72
73
A module can contain executable statements as well as function definitions.
74
These statements are intended to initialize the module. They are executed only
75
-the *first* time the module is imported somewhere. [#]_
+the *first* time the module name is encountered in an import statement. [#]_
76
+(They are also run if the file is executed as a script.)
77
78
Each module has its own private symbol table, which is used as the global symbol
79
table by all functions defined in the module. Thus, the author of a module can
0 commit comments