Searched refs:errmod_name (Results 1 – 2 of 2) sorted by relevance
1638 PyObject *errmod_name = PyUnicode_FromString(MODULE_NAME ".errors"); in MODULE_INITFUNC() local1649 if (errmod_name == NULL) in MODULE_INITFUNC()1696 errors_module = PyDict_GetItemWithError(d, errmod_name); in MODULE_INITFUNC()1700 _PyImport_SetModule(errmod_name, errors_module); in MODULE_INITFUNC()1705 Py_DECREF(errmod_name); in MODULE_INITFUNC()
1837 PyObject *errmod_name = PyString_FromString(MODULE_NAME ".errors"); in MODULE_INITFUNC() local1846 if (errmod_name == NULL) in MODULE_INITFUNC()1897 errors_module = PyDict_GetItem(d, errmod_name); in MODULE_INITFUNC()1901 PyDict_SetItem(sys_modules, errmod_name, errors_module); in MODULE_INITFUNC()1906 Py_DECREF(errmod_name); in MODULE_INITFUNC()