[Python-checkins] cpython (2.7): Clarify that the function *definition* creates the function and the binding in

georg.brandl python-checkins at python.org
Sun Apr 14 11:55:27 CEST 2013


http://hg.python.org/cpython/rev/6cb6c332c24f
changeset:   83349:6cb6c332c24f
branch:      2.7
user:        Georg Brandl <georg at python.org>
date:        Sun Apr 14 11:47:46 2013 +0200
summary:
  Clarify that the function *definition* creates the function and the binding in the module globals.

files:
  Doc/tutorial/modules.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/tutorial/modules.rst b/Doc/tutorial/modules.rst
--- a/Doc/tutorial/modules.rst
+++ b/Doc/tutorial/modules.rst
@@ -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.
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list