Patch to bug #461753: Allow None in ExternalEntityParserCreate.

This commit is contained in:
Martin v. Löwis 2001-09-19 09:55:09 +00:00
parent 5485404293
commit c57428d3a0

View file

@ -969,7 +969,7 @@ xmlparse_ExternalEntityParserCreate(xmlparseobject *self, PyObject *args)
xmlparseobject *new_parser;
int i;
if (!PyArg_ParseTuple(args, "s|s:ExternalEntityParserCreate",
if (!PyArg_ParseTuple(args, "z|s:ExternalEntityParserCreate",
&context, &encoding)) {
return NULL;
}