mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Replace PyObject_Del with PyObject_Free (#122453)
PyObject_Del() is just a alias to PyObject_Free() kept for backward compatibility. Use directly PyObject_Free() instead.
This commit is contained in:
parent
88030861e2
commit
fda6bd842a
13 changed files with 18 additions and 18 deletions
|
@ -899,7 +899,7 @@ PyTypeObject PyRangeIter_Type = {
|
|||
sizeof(_PyRangeIterObject), /* tp_basicsize */
|
||||
0, /* tp_itemsize */
|
||||
/* methods */
|
||||
(destructor)PyObject_Del, /* tp_dealloc */
|
||||
(destructor)PyObject_Free, /* tp_dealloc */
|
||||
0, /* tp_vectorcall_offset */
|
||||
0, /* tp_getattr */
|
||||
0, /* tp_setattr */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue