summaryrefslogtreecommitdiffstats
path: root/Doc/lib/librexec.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-05-08 13:27:38 (GMT)
committerGuido van Rossum <guido@python.org>1998-05-08 13:27:38 (GMT)
commit7b0c9d8a07646de3aeda7df0d40c3e216dbce798 (patch)
treeb9e3ea385069fef5201596e3e137ded7f77be81d /Doc/lib/librexec.tex
parent445cfd339cbe046c08b8263b9edbf15fccce24a6 (diff)
downloadcpython-7b0c9d8a07646de3aeda7df0d40c3e216dbce798.zip
cpython-7b0c9d8a07646de3aeda7df0d40c3e216dbce798.tar.gz
cpython-7b0c9d8a07646de3aeda7df0d40c3e216dbce798.tar.bz2
exec is a statement, not a function!
Diffstat (limited to 'Doc/lib/librexec.tex')
-rw-r--r--Doc/lib/librexec.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/librexec.tex b/Doc/lib/librexec.tex
index baddece..8778ae1 100644
--- a/Doc/lib/librexec.tex
+++ b/Doc/lib/librexec.tex
@@ -4,10 +4,10 @@
This module contains the \class{RExec} class, which supports
-\method{r_exec()}, \method{r_eval()}, \method{r_execfile()}, and
+\method{r_eval()}, \method{r_execfile()}, \method{r_exec()}, and
\method{r_import()} methods, which are restricted versions of the standard
-Python functions \method{exec()}, \method{eval()}, \method{execfile()}, and
-the \keyword{import} statement.
+Python functions \method{eval()}, \method{execfile()} and
+the \keyword{exec} and \keyword{import} statements.
Code executed in this restricted environment will
only have access to modules and functions that are deemed safe; you
can subclass \class{RExec} to add or remove capabilities as desired.