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:
Victor Stinner 2024-08-01 14:12:33 +02:00 committed by GitHub
parent 88030861e2
commit fda6bd842a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 18 additions and 18 deletions

View file

@ -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,
};