Fix refcounting bug.

This commit is contained in:
Martin v. Löwis 2006-03-10 11:29:32 +00:00
parent 5bd7c02298
commit 0e2f9b2dfb
1 changed files with 1 additions and 0 deletions

View File

@ -1186,6 +1186,7 @@ initunicodedata(void)
return;
PyModule_AddStringConstant(m, "unidata_version", UNIDATA_VERSION);
Py_INCREF(&UCD_Type);
PyModule_AddObject(m, "UCD", (PyObject*)&UCD_Type);
/* Previous versions */