Py3.12: initialize field 'tp_watched'
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user