112
112
If the global statement occurs within a block, all uses of the name specified in
113
113
the statement refer to the binding of that name in the top-level namespace.
114
114
Names are resolved in the top-level namespace by searching the global namespace,
116
116
namespace, the namespace of the module :mod:`__builtin__`. The global namespace
118
118
searched. The global statement must precede all uses of the name.
120
120
.. index:: pair: restricted; execution