diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2021-08-10 07:56:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-10 07:56:14 (GMT) |
commit | e9ec71ad2c7a1c83f03e172ba7c9f534912b8ba6 (patch) | |
tree | 514756da213bd602909a9d7d63e67979ca173653 /Objects/frameobject.c | |
parent | d657da8155cc9611b901ea052f3eac28f99122b4 (diff) | |
download | cpython-e9ec71ad2c7a1c83f03e172ba7c9f534912b8ba6.zip cpython-e9ec71ad2c7a1c83f03e172ba7c9f534912b8ba6.tar.gz cpython-e9ec71ad2c7a1c83f03e172ba7c9f534912b8ba6.tar.bz2 |
bpo-44872: use new trashcan macros in framobject.c (GH-27683) (GH-27690)
Diffstat (limited to 'Objects/frameobject.c')
-rw-r--r-- | Objects/frameobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c index 034b908..aa97301 100644 --- a/Objects/frameobject.c +++ b/Objects/frameobject.c @@ -581,7 +581,7 @@ frame_dealloc(PyFrameObject *f) _PyObject_GC_UNTRACK(f); } - Py_TRASHCAN_SAFE_BEGIN(f) + Py_TRASHCAN_BEGIN(f, frame_dealloc); /* Kill all local variables */ PyObject **valuestack = f->f_valuestack; for (PyObject **p = f->f_localsplus; p < valuestack; p++) { @@ -621,7 +621,7 @@ frame_dealloc(PyFrameObject *f) } Py_DECREF(co); - Py_TRASHCAN_SAFE_END(f) + Py_TRASHCAN_END; } static inline Py_ssize_t |