]> granicus.if.org Git - python/commitdiff
exec is a statement, not a function!
authorGuido van Rossum <guido@python.org>
Fri, 8 May 1998 13:27:38 +0000 (13:27 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 8 May 1998 13:27:38 +0000 (13:27 +0000)
Doc/lib/librexec.tex

index baddece119a65e0ca1a7434fe7b70dc6fd1260a2..8778ae13fb6997fe3241be62364603346f0fb8fc 100644 (file)
@@ -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.