Commit 5c9931e3 authored by jack's avatar jack

Missing & in PyArg_ParseTuple argument.

parent f975fd7c
......@@ -390,7 +390,7 @@ pyexpat_ParserCreate(self, args)
{
char *encoding = NULL;
if (!PyArg_ParseTuple(args, "|s", encoding))
if (!PyArg_ParseTuple(args, "|s", &encoding))
return NULL;
return (PyObject *)newxmlparseobject(encoding);
}
......
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