diff options
author | Victor Stinner <vstinner@python.org> | 2024-08-02 10:13:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-02 10:13:33 (GMT) |
commit | addbb73927f55855dfcc62fd47b0018de8a814ed (patch) | |
tree | 0209ce6e318babdad71c56d11efcc468c02ca147 /Modules/_sre | |
parent | 03b88522f5e847773845b0fac90fd06d04937a65 (diff) | |
download | cpython-addbb73927f55855dfcc62fd47b0018de8a814ed.zip cpython-addbb73927f55855dfcc62fd47b0018de8a814ed.tar.gz cpython-addbb73927f55855dfcc62fd47b0018de8a814ed.tar.bz2 |
Update PyObject_Del() documentation (#122597)
Replace PyMem_Del() with PyMem_Free().
Diffstat (limited to 'Modules/_sre')
-rw-r--r-- | Modules/_sre/sre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sre/sre.c b/Modules/_sre/sre.c index 0a888af..01420d1 100644 --- a/Modules/_sre/sre.c +++ b/Modules/_sre/sre.c @@ -530,7 +530,7 @@ state_fini(SRE_STATE* state) PyBuffer_Release(&state->buffer); Py_XDECREF(state->string); data_stack_dealloc(state); - /* See above PyMem_Del for why we explicitly cast here. */ + /* See above PyMem_Free() for why we explicitly cast here. */ PyMem_Free((void*) state->mark); state->mark = NULL; } |