summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-12-13 00:36:41 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-12-13 00:36:41 (GMT)
commita5a5ce90a211a19e9b179d0f4ed408f9a83c933d (patch)
tree9a2578e0b372408348849855829e2295be65f53a /Doc
parent2795e6c1c44c5572191de711cd2526dd1ec2f072 (diff)
downloadcpython-a5a5ce90a211a19e9b179d0f4ed408f9a83c933d.zip
cpython-a5a5ce90a211a19e9b179d0f4ed408f9a83c933d.tar.gz
cpython-a5a5ce90a211a19e9b179d0f4ed408f9a83c933d.tar.bz2
Merged revisions 76771 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r76771 | benjamin.peterson | 2009-12-12 18:32:14 -0600 (Sat, 12 Dec 2009) | 1 line death to exec statement ........
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/functions.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index adde017..cdef34a 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -142,9 +142,9 @@ are always available. They are listed here in alphabetical order.
.. 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