Skip to content

Commit

Permalink
genobject: Remove unnecessary tp_free slots from aiter_wrapper and co…
Browse files Browse the repository at this point in the history
…ro_wrapper
  • Loading branch information
1st1 committed Nov 9, 2016
1 parent 6cc495e commit 33499b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Objects/genobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ PyTypeObject _PyCoroWrapper_Type = {
0, /* tp_init */
0, /* tp_alloc */
0, /* tp_new */
PyObject_Del, /* tp_free */
0, /* tp_free */
};

PyObject *
Expand Down Expand Up @@ -1116,7 +1116,7 @@ PyTypeObject _PyAIterWrapper_Type = {
0, /* tp_init */
0, /* tp_alloc */
0, /* tp_new */
PyObject_Del, /* tp_free */
0, /* tp_free */
};


Expand Down

0 comments on commit 33499b7

Please sign in to comment.