mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapper
This commit is contained in:
parent
6cc495e9e2
commit
33499b7eed
1 changed files with 2 additions and 2 deletions
|
@ -1031,7 +1031,7 @@ PyTypeObject _PyCoroWrapper_Type = {
|
|||
0, /* tp_init */
|
||||
0, /* tp_alloc */
|
||||
0, /* tp_new */
|
||||
PyObject_Del, /* tp_free */
|
||||
0, /* tp_free */
|
||||
};
|
||||
|
||||
PyObject *
|
||||
|
@ -1116,7 +1116,7 @@ PyTypeObject _PyAIterWrapper_Type = {
|
|||
0, /* tp_init */
|
||||
0, /* tp_alloc */
|
||||
0, /* tp_new */
|
||||
PyObject_Del, /* tp_free */
|
||||
0, /* tp_free */
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue