Kaydet (Commit) 3809026a authored tarafından Benjamin Peterson's avatar Benjamin Peterson

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

üst 3dc7c6a3
......@@ -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.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment