Searched refs:rev_codes_dict (Results 1 – 1 of 1) sorted by relevance
1655 PyObject *rev_codes_dict, const char *name, int value) in add_error() argument1678 int res = PyDict_SetItem(rev_codes_dict, num, str); in add_error()1697 PyObject *rev_codes_dict = PyDict_New(); in add_errors_module() local1698 if (codes_dict == NULL || rev_codes_dict == NULL) { in add_errors_module()1703 if (add_error(errors_module, codes_dict, rev_codes_dict, \ in add_errors_module()1763 Py_INCREF(rev_codes_dict); in add_errors_module()1764 if (PyModule_AddObject(errors_module, "messages", rev_codes_dict) < 0) { in add_errors_module()1765 Py_DECREF(rev_codes_dict); in add_errors_module()1768 Py_CLEAR(rev_codes_dict); in add_errors_module()1774 Py_XDECREF(rev_codes_dict); in add_errors_module()