Lines Matching defs:globals
49 PyFunction_NewWithQualName(PyObject *code, PyObject *globals, PyObject *qualname)
51 assert(globals != NULL);
52 assert(PyDict_Check(globals));
53 Py_INCREF(globals);
84 // __module__: Use globals['__name__'] if it exists, or NULL.
85 PyObject *module = PyDict_GetItemWithError(globals, &_Py_ID(__name__));
92 builtins = _PyEval_BuiltinsFromGlobals(tstate, globals); // borrowed ref
105 op->func_globals = globals;
124 Py_DECREF(globals);
148 PyFunction_New(PyObject *code, PyObject *globals)
150 return PyFunction_NewWithQualName(code, globals, NULL);
598 globals: object(subclass_of="&PyDict_Type")
599 the globals dictionary
611 func_new_impl(PyTypeObject *type, PyCodeObject *code, PyObject *globals,
663 globals);