diff Doc/tutorial/modules.rst @ 83349:6cb6c332c24f 2.7

Clarify that the function *definition* creates the function and the binding in the module globals.
author Georg Brandl <georg@python.org>
date Sun, 14 Apr 2013 11:47:46 +0200
parents 770bbc93ae89
children a1421d28393b
line wrap: on
line diff
--- a/Doc/tutorial/modules.rst	Sun Apr 14 11:45:16 2013 +0200
+++ b/Doc/tutorial/modules.rst	Sun Apr 14 11:47:46 2013 +0200
@@ -550,6 +550,6 @@
 .. 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.