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

Fix refcounting bug.

üst 5bd7c022
...@@ -1186,6 +1186,7 @@ initunicodedata(void) ...@@ -1186,6 +1186,7 @@ initunicodedata(void)
return; return;
PyModule_AddStringConstant(m, "unidata_version", UNIDATA_VERSION); PyModule_AddStringConstant(m, "unidata_version", UNIDATA_VERSION);
Py_INCREF(&UCD_Type);
PyModule_AddObject(m, "UCD", (PyObject*)&UCD_Type); PyModule_AddObject(m, "UCD", (PyObject*)&UCD_Type);
/* Previous versions */ /* Previous versions */
......
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