Mercurial > cpython-lru_cache-weakref
diff Python/bltinmodule.c @ 50586:1146b7b0d518
#4826 exec() doesn't take a file object anymore
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sun, 04 Jan 2009 15:30:39 +0000 |
| parents | c7abfab4dcdb |
| children | 45aef53f5c71 |
line wrap: on
line diff
--- a/Python/bltinmodule.c Sun Jan 04 15:09:02 2009 +0000 +++ b/Python/bltinmodule.c Sun Jan 04 15:30:39 2009 +0000 @@ -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.");
