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

@ -276,7 +276,7 @@ tp_dictoffset (__dict__) - -
tp_init __init__ object_init dict_init
tp_alloc - PyType_GenericAlloc (repeated)
tp_new __new__ object_new dict_new
tp_free - PyObject_Del PyObject_GC_Del
tp_free - PyObject_Free PyObject_GC_Del
================= ================ =================== ================
Relevant Methods