mirror of https://github.com/python/cpython
Clarify that the function *definition* creates the function and the binding in the module globals.
This commit is contained in:
parent
1d472b74cb
commit
5e2954e083
|
@ -550,6 +550,6 @@ modules found in a package.
|
|||
.. rubric:: Footnotes
|
||||
|
||||
.. [#] In fact function definitions are also 'statements' that are 'executed'; the
|
||||
execution of a module-level function enters the function name in the module's
|
||||
global symbol table.
|
||||
execution of a module-level function definition enters the function name in
|
||||
the module's global symbol table.
|
||||
|
||||
|
|
Loading…
Reference in New Issue