summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-12-21 18:57:36 (GMT)
committerGuido van Rossum <guido@python.org>1998-12-21 18:57:36 (GMT)
commitb1f97d6765465b9de6288c7bc8471b27e7c99f40 (patch)
treed14c7229a0ba7a6fbcb70337486764b4b33f40b5 /Doc
parente848976fbaeeb0277cc1fb4ebf56aa992e7a88fb (diff)
downloadcpython-b1f97d6765465b9de6288c7bc8471b27e7c99f40.zip
cpython-b1f97d6765465b9de6288c7bc8471b27e7c99f40.tar.gz
cpython-b1f97d6765465b9de6288c7bc8471b27e7c99f40.tar.bz2
Suggestion by Tim Peters clarifying what "before global" means.
(Also added an XXX comment requesting clarification of module initialization -- TBD later.)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/ref/ref6.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/ref/ref6.tex b/Doc/ref/ref6.tex
index a629494..e802bf4 100644
--- a/Doc/ref/ref6.tex
+++ b/Doc/ref/ref6.tex
@@ -458,6 +458,7 @@ identifier in the list. The form with \keyword{from} performs step
\indexii{importing}{module}
\indexii{name}{binding}
\kwindex{from}
+% XXX Need to define what ``initialize'' means here
The system maintains a table of modules that have been initialized,
indexed by module name. This table table
@@ -548,7 +549,7 @@ names would be impossible without \keyword{global}.
\indexiii{global}{name}{binding}
Names listed in a \keyword{global} statement must not be used in the same
-code block before that \keyword{global} statement is executed.
+code block textually preceding that \keyword{global} statement.
Names listed in a \keyword{global} statement must not be defined as formal
parameters or in a \keyword{for} loop control target, \keyword{class}