diff options
author | Guido van Rossum <guido@python.org> | 1993-10-27 13:49:20 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-10-27 13:49:20 (GMT) |
commit | 4bd023f88291cedbae91f2dea4b13509fc5c2d9a (patch) | |
tree | 53ba017d67481f5a3fa0dcbe94b38dbe82a3a82c /Doc/ref/ref4.tex | |
parent | 3b716046a0758fa87131fcd1ea415adb0b7a8d89 (diff) | |
download | cpython-4bd023f88291cedbae91f2dea4b13509fc5c2d9a.zip cpython-4bd023f88291cedbae91f2dea4b13509fc5c2d9a.tar.gz cpython-4bd023f88291cedbae91f2dea4b13509fc5c2d9a.tar.bz2 |
* lib3.tex (module string): added rindex().
* lib1.tex (section{Built-in Functions}): added bagof(), lambda(), map()
and reduce(). Repharased apply(). Removed or rephrased references to
exec() (now the exec stmt).
* lib4.tex: posix.exec --> posix.execv
* ref4.tex, ref8.tex, tut.tex: builtin --> __builtin__
* lib3.tex (module string): added atof() and atol(), and ato[fl]_error.
Diffstat (limited to 'Doc/ref/ref4.tex')
-rw-r--r-- | Doc/ref/ref4.tex | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/ref/ref4.tex b/Doc/ref/ref4.tex index f8677b5..62db120 100644 --- a/Doc/ref/ref4.tex +++ b/Doc/ref/ref4.tex @@ -19,8 +19,9 @@ part of their execution, e.g. by invoking (calling) a function. The following are code blocks: A module is a code block. A function body is a code block. A class definition is a code block. Each command typed interactively is a separate code block; a script file is -a code block. The string argument passed to the built-in functions -\verb\eval\ and \verb\exec\ are code blocks. And finally, the +a code block. The string argument passed to the built-in function +\verb\eval\ and to the \verb\exec\ statement are code blocks. +And finally, the expression read and evaluated by the built-in function \verb\input\ is a code block. @@ -66,7 +67,7 @@ assignment, \verb\for\ loop header, or \verb\except\ clause header. 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 +global name space of the module \verb\__builtin__\). When a name is not found at all, the \verb\NameError\ exception is raised. The following table lists the meaning of the local and global name |