summaryrefslogtreecommitdiffstats
path: root/Objects/bytesobject.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-08-01 12:12:33 (GMT)
committerGitHub <noreply@github.com>2024-08-01 12:12:33 (GMT)
commitfda6bd842a2b93a501526f1b830eb900d935ac73 (patch)
treed2c76a2c54a99b18fd297662a1b4809f8977a8a4 /Objects/bytesobject.c
parent88030861e216ac791725c8784752201d6fe31329 (diff)
downloadcpython-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/bytesobject.c')
-rw-r--r--Objects/bytesobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c
index 459df6c..e88b199 100644
--- a/Objects/bytesobject.c
+++ b/Objects/bytesobject.c
@@ -3066,7 +3066,7 @@ PyTypeObject PyBytes_Type = {
0, /* tp_init */
bytes_alloc, /* tp_alloc */
bytes_new, /* tp_new */
- PyObject_Del, /* tp_free */
+ PyObject_Free, /* tp_free */
};
void