Lines Matching full:locals
214 "eval($module, source, globals=None, locals=None, /)\n"
217 "Evaluate the given source in the context of globals and locals.\n"
221 "The globals must be a dictionary and locals can be any mapping,\n"
222 "defaulting to the current globals and locals.\n"
223 "If only globals is given, locals defaults to it.");
230 PyObject *locals);
238 PyObject *locals = Py_None; in builtin_eval() local
242 &source, &globals, &locals)) { in builtin_eval()
245 return_value = builtin_eval_impl(module, source, globals, locals); in builtin_eval()
252 "exec($module, source, globals=None, locals=None, /)\n"
255 "Execute the given source in the context of globals and locals.\n"
259 "The globals must be a dictionary and locals can be any mapping,\n"
260 "defaulting to the current globals and locals.\n"
261 "If only globals is given, locals defaults to it.");
268 PyObject *locals);
276 PyObject *locals = Py_None; in builtin_exec() local
280 &source, &globals, &locals)) { in builtin_exec()
283 return_value = builtin_exec_impl(module, source, globals, locals); in builtin_exec()
454 "locals($module, /)\n"
464 {"locals", (PyCFunction)builtin_locals, METH_NOARGS, builtin_locals__doc__},