summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-04-14 09:47:46 (GMT)
committerGeorg Brandl <georg@python.org>2013-04-14 09:47:46 (GMT)
commit5e2954e083987a78ee2d0de81b3d1a37cc445719 (patch)
treed57d9623239ef16397b88daa36962c62605d6794 /Doc/tutorial
parent1d472b74cb21388c78e5e56c19f50b3140370863 (diff)
downloadcpython-5e2954e083987a78ee2d0de81b3d1a37cc445719.zip
cpython-5e2954e083987a78ee2d0de81b3d1a37cc445719.tar.gz
cpython-5e2954e083987a78ee2d0de81b3d1a37cc445719.tar.bz2
Clarify that the function *definition* creates the function and the binding in the module globals.
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/modules.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/modules.rst b/Doc/tutorial/modules.rst
index c4d86ac..78fe511 100644
--- a/Doc/tutorial/modules.rst
+++ b/Doc/tutorial/modules.rst
@@ -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.