mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue