Commit 0ab20c3f authored by Benjamin Peterson's avatar Benjamin Peterson

merge 3.1

parents 0f4b0a17 b70dc80f
......@@ -1700,7 +1700,7 @@ MODULE_INITFUNC(void)
version = PyUnicode_FromString(PY_VERSION);
if (!version)
return;
return NULL;
PyModule_AddObject(m, "__version__", version);
PyModule_AddStringConstant(m, "EXPAT_VERSION",
(char *) XML_ExpatVersion());
......
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