mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Remove _PyObject_Del
This commit is contained in:
parent
666bb419cb
commit
30d1c51ac9
8 changed files with 7 additions and 17 deletions
|
|
@ -557,7 +557,7 @@ static PyTypeObject Random_Type = {
|
|||
0, /*tp_init*/
|
||||
0, /*tp_alloc*/
|
||||
random_new, /*tp_new*/
|
||||
_PyObject_Del, /*tp_free*/
|
||||
PyObject_Free, /*tp_free*/
|
||||
0, /*tp_is_gc*/
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1336,7 +1336,7 @@ static PyTypeObject BZ2File_Type = {
|
|||
(initproc)BZ2File_init, /*tp_init*/
|
||||
PyType_GenericAlloc, /*tp_alloc*/
|
||||
PyType_GenericNew, /*tp_new*/
|
||||
_PyObject_Del, /*tp_free*/
|
||||
PyObject_Free, /*tp_free*/
|
||||
0, /*tp_is_gc*/
|
||||
};
|
||||
|
||||
|
|
@ -1612,7 +1612,7 @@ static PyTypeObject BZ2Comp_Type = {
|
|||
(initproc)BZ2Comp_init, /*tp_init*/
|
||||
PyType_GenericAlloc, /*tp_alloc*/
|
||||
PyType_GenericNew, /*tp_new*/
|
||||
_PyObject_Del, /*tp_free*/
|
||||
PyObject_Free, /*tp_free*/
|
||||
0, /*tp_is_gc*/
|
||||
};
|
||||
|
||||
|
|
@ -1836,7 +1836,7 @@ static PyTypeObject BZ2Decomp_Type = {
|
|||
(initproc)BZ2Decomp_init, /*tp_init*/
|
||||
PyType_GenericAlloc, /*tp_alloc*/
|
||||
PyType_GenericNew, /*tp_new*/
|
||||
_PyObject_Del, /*tp_free*/
|
||||
PyObject_Free, /*tp_free*/
|
||||
0, /*tp_is_gc*/
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue