Home
last modified time | relevance | path

Searched refs:errors_module (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython2/Modules/
Dpyexpat.c1840 PyObject *errors_module; in MODULE_INITFUNC() local
1899 errors_module = PyDict_GetItem(d, errmod_name); in MODULE_INITFUNC()
1900 if (errors_module == NULL) { in MODULE_INITFUNC()
1901 errors_module = PyModule_New(MODULE_NAME ".errors"); in MODULE_INITFUNC()
1902 if (errors_module != NULL) { in MODULE_INITFUNC()
1903 PyDict_SetItem(sys_modules, errmod_name, errors_module); in MODULE_INITFUNC()
1905 PyModule_AddObject(m, "errors", errors_module); in MODULE_INITFUNC()
1919 if (errors_module == NULL || model_module == NULL) in MODULE_INITFUNC()
1955 PyModule_AddStringConstant(errors_module, #name, \ in MODULE_INITFUNC()
1998 PyModule_AddStringConstant(errors_module, "__doc__", in MODULE_INITFUNC()