Searched refs:md_dict (Results 1 – 2 of 2) sorted by relevance
/third_party/python/Objects/ |
D | moduleobject.c | 20 {"__dict__", T_OBJECT, offsetof(PyModuleObject, md_dict), READONLY}, 61 module_init_dict(PyModuleObject *mod, PyObject *md_dict, in module_init_dict() argument 67 if (md_dict == NULL) in module_init_dict() 72 if (_PyDict_SetItemId(md_dict, &PyId___name__, name) != 0) in module_init_dict() 74 if (_PyDict_SetItemId(md_dict, &PyId___doc__, doc) != 0) in module_init_dict() 76 if (_PyDict_SetItemId(md_dict, &PyId___package__, Py_None) != 0) in module_init_dict() 78 if (_PyDict_SetItemId(md_dict, &PyId___loader__, Py_None) != 0) in module_init_dict() 80 if (_PyDict_SetItemId(md_dict, &PyId___spec__, Py_None) != 0) in module_init_dict() 102 m->md_dict = PyDict_New(); in PyModule_NewObject() 103 if (module_init_dict(m, m->md_dict, name, NULL) != 0) in PyModule_NewObject() [all …]
|
/third_party/python/Include/internal/ |
D | pycore_moduleobject.h | 13 PyObject *md_dict; member 33 PyObject *dict = ((PyModuleObject *)mod) -> md_dict; in _PyModule_GetDict()
|