diff options
author | Guido van Rossum <guido@python.org> | 1994-08-08 12:30:22 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-08-08 12:30:22 (GMT) |
commit | 16d6e7109deb1bcfd8a860cb60c16c02a0ef183b (patch) | |
tree | 81624359068cca2b8476d0894c8cd28788d0762e /Doc/ref/ref4.tex | |
parent | 4b4c664d2e93279c8d749da027000453f9e2cd46 (diff) | |
download | cpython-16d6e7109deb1bcfd8a860cb60c16c02a0ef183b.zip cpython-16d6e7109deb1bcfd8a860cb60c16c02a0ef183b.tar.gz cpython-16d6e7109deb1bcfd8a860cb60c16c02a0ef183b.tar.bz2 |
Lots of small corrections by Andrew Kuchling (plus all new rotor docs)
Diffstat (limited to 'Doc/ref/ref4.tex')
-rw-r--r-- | Doc/ref/ref4.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/ref/ref4.tex b/Doc/ref/ref4.tex index c14fada..c4c4abc 100644 --- a/Doc/ref/ref4.tex +++ b/Doc/ref/ref4.tex @@ -9,7 +9,7 @@ A {\em code block} is a piece of Python program text that can be executed as a unit, such as a module, a class definition or a function body. Some code blocks (like modules) are executed only once, others -(like function bodies) may be executed many times. Code block may +(like function bodies) may be executed many times. Code blocks may textually contain other code blocks. Code blocks may invoke other code blocks (that may or may not be textually contained in them) as part of their execution, e.g. by invoking (calling) a function. @@ -72,7 +72,7 @@ When a global name is not found in the global name space, it is searched in the list of ``built-in'' names (which is actually the global name space of the module \verb@__builtin__@). When a name is not found at all, the \verb@NameError@ exception is raised.% -\footnote{If the code block contains \verb@exec@ statement or the +\footnote{If the code block contains \verb@exec@ statements or the construct \verb@from ... import *@, the semantics of names not explicitly mentioned in a \verb@global@ statement change subtly: name lookup first searches the local name space, then the global one, then |