Lines Matching refs:md_dict
9 PyObject *md_dict; member
13 {"__dict__", T_OBJECT, offsetof(PyModuleObject, md_dict), READONLY},
26 m->md_dict = PyDict_New(); in PyModule_New()
27 if (m->md_dict == NULL || nameobj == NULL) in PyModule_New()
29 if (PyDict_SetItemString(m->md_dict, "__name__", nameobj) != 0) in PyModule_New()
31 if (PyDict_SetItemString(m->md_dict, "__doc__", Py_None) != 0) in PyModule_New()
33 if (PyDict_SetItemString(m->md_dict, "__package__", Py_None) != 0) in PyModule_New()
53 d = ((PyModuleObject *)m) -> md_dict; in PyModule_GetDict()
55 ((PyModuleObject *)m) -> md_dict = d = PyDict_New(); in PyModule_GetDict()
68 d = ((PyModuleObject *)m)->md_dict; in PyModule_GetName()
88 d = ((PyModuleObject *)m)->md_dict; in PyModule_GetFilename()
113 d = ((PyModuleObject *)m)->md_dict; in _PyModule_Clear()
161 dict = m->md_dict; in module_init()
166 m->md_dict = dict; in module_init()
179 if (m->md_dict != NULL) { in module_dealloc()
181 Py_DECREF(m->md_dict); in module_dealloc()
211 Py_VISIT(m->md_dict); in module_traverse()
257 offsetof(PyModuleObject, md_dict), /* tp_dictoffset */