]> granicus.if.org Git - python/commitdiff
#4826 exec() doesn't take a file object anymore
authorBenjamin Peterson <benjamin@python.org>
Sun, 4 Jan 2009 15:30:39 +0000 (15:30 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sun, 4 Jan 2009 15:30:39 +0000 (15:30 +0000)
Python/bltinmodule.c

index 546bc20c00782e573065ea552bc7d9d68ee7fa72..c3fefb91cb1f8acb44e007445a577f6d6804caa8 100644 (file)
@@ -820,8 +820,8 @@ builtin_exec(PyObject *self, PyObject *args)
 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.");