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/bytesobject.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/bytesobject.c')
-rw-r--r-- | Objects/bytesobject.c | 2 |
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 |