summaryrefslogtreecommitdiffstats
path: root/Doc/reference/executionmodel.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-31 09:38:49 (GMT)
committerGeorg Brandl <georg@python.org>2014-10-31 09:38:49 (GMT)
commita4c8c47961305487ef6c40a6d882bb956f2c5a0b (patch)
treeade0c211dbcb38c39d91274d8ba6fdadd03bf8bc /Doc/reference/executionmodel.rst
parent8ed75cd8e931c075c38246fbd50dd5f18defdba6 (diff)
downloadcpython-a4c8c47961305487ef6c40a6d882bb956f2c5a0b.zip
cpython-a4c8c47961305487ef6c40a6d882bb956f2c5a0b.tar.gz
cpython-a4c8c47961305487ef6c40a6d882bb956f2c5a0b.tar.bz2
#22613: remaining corrections in extending/reference docs (thanks Jacques Ducasse)
Diffstat (limited to 'Doc/reference/executionmodel.rst')
-rw-r--r--Doc/reference/executionmodel.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/reference/executionmodel.rst b/Doc/reference/executionmodel.rst
index 664d736..a3948e3 100644
--- a/Doc/reference/executionmodel.rst
+++ b/Doc/reference/executionmodel.rst
@@ -111,8 +111,9 @@ specified in the statement refer to the binding of that name in the top-level
namespace. Names are resolved in the top-level namespace by searching the
global namespace, i.e. the namespace of the module containing the code block,
and the builtins namespace, the namespace of the module :mod:`builtins`. The
-global namespace is searched first. If the name is not found there, the builtins
-namespace is searched. The global statement must precede all uses of the name.
+global namespace is searched first. If the name is not found there, the
+builtins namespace is searched. The :keyword:`global` statement must precede
+all uses of the name.
.. XXX document "nonlocal" semantics here