From: Yury Selivanov Date: Wed, 9 Nov 2016 00:19:28 +0000 (-0500) Subject: genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapper X-Git-Tag: v3.6.0b4~120^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33499b7eed8a0c719636dba4b5727246cf2ffa9a;p=python genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapper --- diff --git a/Objects/genobject.c b/Objects/genobject.c index 0d5d54fdba..d403598181 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 */ };