diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-01-04 15:30:39 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-01-04 15:30:39 (GMT) |
commit | 3809026a72472593a43038315eb597bedb6403e7 (patch) | |
tree | 2a22ad7bf9f0d2f4b3a8b9acfac6e40ab3917254 /Python | |
parent | 3dc7c6a375b44f8bdabb33ed53ee687e07a12948 (diff) | |
download | cpython-3809026a72472593a43038315eb597bedb6403e7.zip cpython-3809026a72472593a43038315eb597bedb6403e7.tar.gz cpython-3809026a72472593a43038315eb597bedb6403e7.tar.bz2 |
#4826 exec() doesn't take a file object anymore
Diffstat (limited to 'Python')
-rw-r--r-- | Python/bltinmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 546bc20..c3fefb9 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -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."); |