#4826 exec() doesn't take a file object anymore

This commit is contained in:
Benjamin Peterson 2009-01-04 15:30:39 +00:00
parent 3dc7c6a375
commit 3809026a72
1 changed files with 2 additions and 2 deletions

View File

@ -820,8 +820,8 @@ builtin_exec(PyObject *self, PyObject *args)
PyDoc_STRVAR(exec_doc, PyDoc_STRVAR(exec_doc,
"exec(object[, globals[, locals]])\n\ "exec(object[, globals[, locals]])\n\
\n\ \n\
Read and execute code from a object, which can be a string, a code\n\ Read and execute code from a object, which can be a string or a code\n\
object or a file object.\n\ object.\n\
The globals and locals are dictionaries, defaulting to the current\n\ The globals and locals are dictionaries, defaulting to the current\n\
globals and locals. If only globals is given, locals defaults to it."); globals and locals. If only globals is given, locals defaults to it.");