mirror of https://github.com/python/cpython
genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapper
This commit is contained in:
parent
6cc495e9e2
commit
33499b7eed
|
@ -1031,7 +1031,7 @@ PyTypeObject _PyCoroWrapper_Type = {
|
||||||
0, /* tp_init */
|
0, /* tp_init */
|
||||||
0, /* tp_alloc */
|
0, /* tp_alloc */
|
||||||
0, /* tp_new */
|
0, /* tp_new */
|
||||||
PyObject_Del, /* tp_free */
|
0, /* tp_free */
|
||||||
};
|
};
|
||||||
|
|
||||||
PyObject *
|
PyObject *
|
||||||
|
@ -1116,7 +1116,7 @@ PyTypeObject _PyAIterWrapper_Type = {
|
||||||
0, /* tp_init */
|
0, /* tp_init */
|
||||||
0, /* tp_alloc */
|
0, /* tp_alloc */
|
||||||
0, /* tp_new */
|
0, /* tp_new */
|
||||||
PyObject_Del, /* tp_free */
|
0, /* tp_free */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue