Commit 96bd49c5 authored by Stefan Behnel's avatar Stefan Behnel

Correctly initialise "tp_finalize" slot even when its usage is disabled.

parent 46041cb0
......@@ -395,6 +395,8 @@ static PyTypeObject __pyx_AsyncGenType_type = {
0, /* tp_version_tag */
#if CYTHON_USE_TP_FINALIZE
__Pyx_Coroutine_del, /* tp_finalize */
#elif PY_VERSION_HEX >= 0x030400a1
0, /* tp_finalize */
#endif
};
......
......@@ -1568,6 +1568,8 @@ static PyTypeObject __pyx_CoroutineType_type = {
0, /*tp_version_tag*/
#if CYTHON_USE_TP_FINALIZE
__Pyx_Coroutine_del, /*tp_finalize*/
#elif PY_VERSION_HEX >= 0x030400a1
0, /*tp_finalize*/
#endif
};
......@@ -1668,6 +1670,8 @@ static PyTypeObject __pyx_GeneratorType_type = {
0, /*tp_version_tag*/
#if CYTHON_USE_TP_FINALIZE
__Pyx_Coroutine_del, /*tp_finalize*/
#elif PY_VERSION_HEX >= 0x030400a1
0, /*tp_finalize*/
#endif
};
......
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