summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2021-08-09 17:11:38 (GMT)
committerGitHub <noreply@github.com>2021-08-09 17:11:38 (GMT)
commit7d14fdb03c3e8384c01da1b21647ce837ed6a29c (patch)
tree2101e9033f22e3feaa0709932ed7a747b01b3979 /Objects
parentb33186bc43bb5aaf652dd9d093a08fdde796d499 (diff)
downloadcpython-7d14fdb03c3e8384c01da1b21647ce837ed6a29c.zip
cpython-7d14fdb03c3e8384c01da1b21647ce837ed6a29c.tar.gz
cpython-7d14fdb03c3e8384c01da1b21647ce837ed6a29c.tar.bz2
bpo-44872: use new trashcan macros in framobject.c (#27683)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/frameobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c
index d1b8048..2af6959 100644
--- a/Objects/frameobject.c
+++ b/Objects/frameobject.c
@@ -619,7 +619,7 @@ frame_dealloc(PyFrameObject *f)
_PyObject_GC_UNTRACK(f);
}
- Py_TRASHCAN_SAFE_BEGIN(f)
+ Py_TRASHCAN_BEGIN(f, frame_dealloc);
PyCodeObject *co = NULL;
/* Kill all local variables including specials, if we own them */
@@ -659,7 +659,7 @@ frame_dealloc(PyFrameObject *f)
}
Py_XDECREF(co);
- Py_TRASHCAN_SAFE_END(f)
+ Py_TRASHCAN_END;
}
static int