summaryrefslogtreecommitdiffstats
path: root/Objects/genobject.c
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2016-11-09 00:19:28 (GMT)
committerYury Selivanov <yury@magic.io>2016-11-09 00:19:28 (GMT)
commit33499b7eed8a0c719636dba4b5727246cf2ffa9a (patch)
tree57b4d75ed410f5fd13ddb44cc6a06b01f2cf78e3 /Objects/genobject.c
parent6cc495e9e2db8de0b8b7d95323d3a1514844b1b4 (diff)
downloadcpython-33499b7eed8a0c719636dba4b5727246cf2ffa9a.zip
cpython-33499b7eed8a0c719636dba4b5727246cf2ffa9a.tar.gz
cpython-33499b7eed8a0c719636dba4b5727246cf2ffa9a.tar.bz2
genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapper
Diffstat (limited to 'Objects/genobject.c')
-rw-r--r--Objects/genobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/genobject.c b/Objects/genobject.c
index 0d5d54f..d403598 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 */
};