[Python-checkins] r68301 - python/branches/py3k/Python/bltinmodule.c
benjamin.peterson
python-checkins at python.org
Sun Jan 4 16:30:40 CET 2009
Author: benjamin.peterson
Date: Sun Jan 4 16:30:39 2009
New Revision: 68301
Log:
#4826 exec() doesn't take a file object anymore
Modified:
python/branches/py3k/Python/bltinmodule.c
Modified: python/branches/py3k/Python/bltinmodule.c
==============================================================================
--- python/branches/py3k/Python/bltinmodule.c (original)
+++ python/branches/py3k/Python/bltinmodule.c Sun Jan 4 16:30:39 2009
@@ -820,8 +820,8 @@
PyDoc_STRVAR(exec_doc,
"exec(object[, globals[, locals]])\n\
\n\
-Read and execute code from a object, which can be a string, a code\n\
-object or a file object.\n\
+Read and execute code from a object, which can be a string or a code\n\
+object.\n\
The globals and locals are dictionaries, defaulting to the current\n\
globals and locals. If only globals is given, locals defaults to it.");
More information about the Python-checkins
mailing list