changeset 57670:b7ec4afcfc3f

death to exec statement
author Benjamin Peterson <benjamin@python.org>
date Sun, 13 Dec 2009 00:32:14 +0000
parents ad917b8fd64c
children 8048569eb53f
files Doc/library/functions.rst
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Doc/library/functions.rst	Sat Dec 12 22:35:59 2009 +0000
+++ b/Doc/library/functions.rst	Sun Dec 13 00:32:14 2009 +0000
@@ -142,9 +142,9 @@
 .. function:: compile(source, filename, mode, flags=0, dont_inherit=False)
 
    Compile the *source* into a code or AST object.  Code objects can be executed
-   by an :keyword:`exec` statement or evaluated by a call to :func:`eval`.
-   *source* can either be a string or an AST object.  Refer to the :mod:`ast`
-   module documentation for information on how to work with AST objects.
+   by:func:`exec` or :func:`eval`.  *source* can either be a string or an AST
+   object.  Refer to the :mod:`ast` module documentation for information on how
+   to work with AST objects.
 
    The *filename* argument should give the file from which the code was read;
    pass some recognizable value if it wasn't read from a file (``'<string>'`` is