Py3.12: initialize field 'tp_watched'

This commit is contained in:
wmayer
2024-02-07 15:58:28 +01:00
committed by Chris Hennes
parent 6043c90462
commit 100ab2a975
4 changed files with 15 additions and 1 deletions

View File

@@ -170,6 +170,9 @@ static PyTypeObject PyBaseProxyType = {
nullptr /*tp_finalize */
#if PY_VERSION_HEX >= 0x03090000
,0 //NOLINT /*tp_vectorcall */
#if PY_VERSION_HEX >= 0x030c0000
,0 /*tp_watched */
#endif
#elif PY_VERSION_HEX >= 0x03080000
,0 /*tp_vectorcall */
/* bpo-37250: kept for backwards compatibility in CPython 3.8 only */
@@ -235,6 +238,9 @@ PyTypeObject PyObjectBase::Type = {
nullptr /*tp_finalize */
#if PY_VERSION_HEX >= 0x03090000
,0 //NOLINT /*tp_vectorcall */
#if PY_VERSION_HEX >= 0x030c0000
,0 /*tp_watched */
#endif
#elif PY_VERSION_HEX >= 0x03080000
,0 /*tp_vectorcall */
/* bpo-37250: kept for backwards compatibility in CPython 3.8 only */