mirror of
https://github.com/python/cpython.git
synced 2025-11-03 19:34:08 +00:00
Fix refcounting bug.
This commit is contained in:
parent
5bd7c02298
commit
0e2f9b2dfb
1 changed files with 1 additions and 0 deletions
|
|
@ -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 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue