summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref8.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-10-27 13:49:20 (GMT)
committerGuido van Rossum <guido@python.org>1993-10-27 13:49:20 (GMT)
commit4bd023f88291cedbae91f2dea4b13509fc5c2d9a (patch)
tree53ba017d67481f5a3fa0dcbe94b38dbe82a3a82c /Doc/ref/ref8.tex
parent3b716046a0758fa87131fcd1ea415adb0b7a8d89 (diff)
downloadcpython-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/ref8.tex')
-rw-r--r--Doc/ref/ref8.tex10
1 files changed, 3 insertions, 7 deletions
diff --git a/Doc/ref/ref8.tex b/Doc/ref/ref8.tex
index 59ef58c..aeb65bf 100644
--- a/Doc/ref/ref8.tex
+++ b/Doc/ref/ref8.tex
@@ -14,13 +14,13 @@ interpreter is invoked, it is useful to have a notion of a complete
Python program. A complete Python program is executed in a minimally
initialized environment: all built-in and standard modules are
available, but none have been initialized, except for \verb\sys\
-(various system services), \verb\builtin\ (built-in functions,
+(various system services), \verb\__builtin__\ (built-in functions,
exceptions and \verb\None\) and \verb\__main__\. The latter is used
to provide the local and global name space for execution of the
complete program.
\bimodindex{sys}
\bimodindex{__main__}
-\bimodindex{builtin}
+\bimodindex{__builtin__}
The syntax for a complete Python program is that for file input,
described in the next section.
@@ -58,11 +58,7 @@ This syntax is used in the following situations:
\item when parsing a module;
-\item when parsing a string passed to \verb\exec()\;
-\bifuncindex{exec}
-
-\item when parsing a file passed to \verb\execfile()\;
-\bifuncindex{execfile}
+\item when parsing a string passed to the \verb\exec\ statement;
\end{itemize}