[Python-checkins] r76771 - python/branches/py3k/Doc/library/functions.rst
benjamin.peterson
python-checkins at python.org
Sun Dec 13 01:32:16 CET 2009
Author: benjamin.peterson
Date: Sun Dec 13 01:32:14 2009
New Revision: 76771
Log:
death to exec statement
Modified:
python/branches/py3k/Doc/library/functions.rst
Modified: python/branches/py3k/Doc/library/functions.rst
==============================================================================
--- python/branches/py3k/Doc/library/functions.rst (original)
+++ python/branches/py3k/Doc/library/functions.rst Sun Dec 13 01:32:14 2009
@@ -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
More information about the Python-checkins
mailing list