Kaydet (Commit) b48ff7fd authored tarafından Eli Bendersky's avatar Eli Bendersky

Merge for #14988

...@@ -3514,12 +3514,8 @@ PyInit__elementtree(void) ...@@ -3514,12 +3514,8 @@ PyInit__elementtree(void)
expat_capi = NULL; expat_capi = NULL;
} }
} }
if (!expat_capi) { if (!expat_capi)
PyErr_SetString(
PyExc_RuntimeError, "cannot load dispatch table from pyexpat"
);
return NULL; return NULL;
}
elementtree_parseerror_obj = PyErr_NewException( elementtree_parseerror_obj = PyErr_NewException(
"xml.etree.ElementTree.ParseError", PyExc_SyntaxError, NULL "xml.etree.ElementTree.ParseError", PyExc_SyntaxError, NULL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment