Lines Matching defs:locals
6 "__import__($module, /, name, globals=None, locals=None, fromlist=(),\n"
17 "they are not modified. The locals argument is unused. The fromlist\n"
31 PyObject *locals, PyObject *fromlist, int level);
37 static const char * const _keywords[] = {"name", "globals", "locals", "fromlist", "level", NULL};
43 PyObject *locals = NULL;
62 locals = args[2];
78 return_value = builtin___import___impl(module, name, globals, locals, fromlist, level);
365 "eval($module, source, globals=None, locals=None, /)\n"
368 "Evaluate the given source in the context of globals and locals.\n"
372 "The globals must be a dictionary and locals can be any mapping,\n"
373 "defaulting to the current globals and locals.\n"
374 "If only globals is given, locals defaults to it.");
381 PyObject *locals);
389 PyObject *locals = Py_None;
402 locals = args[2];
404 return_value = builtin_eval_impl(module, source, globals, locals);
411 "exec($module, source, globals=None, locals=None, /, *, closure=None)\n"
414 "Execute the given source in the context of globals and locals.\n"
418 "The globals must be a dictionary and locals can be any mapping,\n"
419 "defaulting to the current globals and locals.\n"
420 "If only globals is given, locals defaults to it.\n"
429 PyObject *locals, PyObject *closure);
441 PyObject *locals = Py_None;
458 locals = args[2];
465 return_value = builtin_exec_impl(module, source, globals, locals, closure);
684 "locals($module, /)\n"
694 {"locals", (PyCFunction)builtin_locals, METH_NOARGS, builtin_locals__doc__},