Home
last modified time | relevance | path

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

/third_party/python/Modules/
Dpyexpat.c1654 add_error(PyObject *errors_module, PyObject *codes_dict, in add_error() argument
1658 if (PyModule_AddStringConstant(errors_module, name, error_string) < 0) { in add_error()
1691 PyObject *errors_module = add_submodule(mod, MODULE_NAME ".errors"); in add_errors_module() local
1692 if (errors_module == NULL) { in add_errors_module()
1703 if (add_error(errors_module, codes_dict, rev_codes_dict, \ in add_errors_module()
1750 if (PyModule_AddStringConstant(errors_module, "__doc__", in add_errors_module()
1757 if (PyModule_AddObject(errors_module, "codes", codes_dict) < 0) { in add_errors_module()
1764 if (PyModule_AddObject(errors_module, "messages", rev_codes_dict) < 0) { in add_errors_module()