diff options
author | Victor Stinner <vstinner@python.org> | 2024-08-01 12:12:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-01 12:12:33 (GMT) |
commit | fda6bd842a2b93a501526f1b830eb900d935ac73 (patch) | |
tree | d2c76a2c54a99b18fd297662a1b4809f8977a8a4 /Objects/odictobject.c | |
parent | 88030861e216ac791725c8784752201d6fe31329 (diff) | |
download | cpython-fda6bd842a2b93a501526f1b830eb900d935ac73.zip cpython-fda6bd842a2b93a501526f1b830eb900d935ac73.tar.gz cpython-fda6bd842a2b93a501526f1b830eb900d935ac73.tar.bz2 |
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.
Diffstat (limited to 'Objects/odictobject.c')
-rw-r--r-- | Objects/odictobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/odictobject.c b/Objects/odictobject.c index 30277aa..a9b801e 100644 --- a/Objects/odictobject.c +++ b/Objects/odictobject.c @@ -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 |