Commit 814f9fe8 authored by Fred Drake's avatar Fred Drake

Return NULL instead of 0 from function with a pointer return value.

parent e5bd2f44
......@@ -842,7 +842,7 @@ xmlparse_ParseFile(xmlparseobject *self, PyObject *args)
PyErr_Clear();
PyErr_SetString(PyExc_TypeError,
"argument must have 'read' attribute");
return 0;
return NULL;
}
}
for (;;) {
......
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