mirror of https://github.com/python/cpython
Fix refcounting bug.
This commit is contained in:
parent
5bd7c02298
commit
0e2f9b2dfb
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue