mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +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
|
@ -15265,7 +15265,7 @@ PyTypeObject PyUnicode_Type = {
|
|||
0, /* tp_init */
|
||||
0, /* tp_alloc */
|
||||
unicode_new, /* tp_new */
|
||||
PyObject_Del, /* tp_free */
|
||||
PyObject_Free, /* tp_free */
|
||||
.tp_vectorcall = unicode_vectorcall,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue