@@ -814,8 +814,7 @@ static PyAsyncMethods gen_as_async = {
814
814
PyTypeObject PyGen_Type = {
815
815
PyVarObject_HEAD_INIT (& PyType_Type , 0 )
816
816
"generator" , /* tp_name */
817
- offsetof(PyGenObject , gi_iframe ) +
818
- offsetof(_PyInterpreterFrame , localsplus ), /* tp_basicsize */
817
+ offsetof(PyGenObject , gi_iframe .localsplus ), /* tp_basicsize */
819
818
sizeof (PyObject * ), /* tp_itemsize */
820
819
/* methods */
821
820
(destructor )gen_dealloc , /* tp_dealloc */
@@ -1166,8 +1165,7 @@ static PyAsyncMethods coro_as_async = {
1166
1165
PyTypeObject PyCoro_Type = {
1167
1166
PyVarObject_HEAD_INIT (& PyType_Type , 0 )
1168
1167
"coroutine" , /* tp_name */
1169
- offsetof(PyCoroObject , cr_iframe ) +
1170
- offsetof(_PyInterpreterFrame , localsplus ), /* tp_basicsize */
1168
+ offsetof(PyCoroObject , cr_iframe .localsplus ),/* tp_basicsize */
1171
1169
sizeof (PyObject * ), /* tp_itemsize */
1172
1170
/* methods */
1173
1171
(destructor )gen_dealloc , /* tp_dealloc */
@@ -1582,8 +1580,7 @@ static PyAsyncMethods async_gen_as_async = {
1582
1580
PyTypeObject PyAsyncGen_Type = {
1583
1581
PyVarObject_HEAD_INIT (& PyType_Type , 0 )
1584
1582
"async_generator" , /* tp_name */
1585
- offsetof(PyAsyncGenObject , ag_iframe ) +
1586
- offsetof(_PyInterpreterFrame , localsplus ), /* tp_basicsize */
1583
+ offsetof(PyAsyncGenObject , ag_iframe .localsplus ), /* tp_basicsize */
1587
1584
sizeof (PyObject * ), /* tp_itemsize */
1588
1585
/* methods */
1589
1586
(destructor )gen_dealloc , /* tp_dealloc */
0 commit comments