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

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


http://hg.python.org/cpython/rev/2dbdd0f1af74
changeset:   83351:2dbdd0f1af74
branch:      3.3
parent:      83346:2fa27a3818a2
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