Kaydet (Commit) c57428d3 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Patch to bug #461753: Allow None in ExternalEntityParserCreate.

üst 54854042
......@@ -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;
}
......
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