From 33499b7eed8a0c719636dba4b5727246cf2ffa9a Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Tue, 8 Nov 2016 19:19:28 -0500 Subject: [PATCH] genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapper --- Objects/genobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Objects/genobject.c b/Objects/genobject.c index 0d5d54fdbaf..d403598181a 100644 --- a/Objects/genobject.c +++ b/Objects/genobject.c @@ -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 */ };