aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Objects/frameobject.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2025-01-21 10:15:02 +0000
committerGitHub <noreply@github.com>2025-01-21 10:15:02 +0000
commitf5b6356a11bde64ac1e08478dd5ee7c47da653d8 (patch)
treef9367b879f47e48c03b0dbe66a9d573302f87764 /Objects/frameobject.c
parentd3b1bb228c951f8245f36ee28d9b175786522730 (diff)
downloadcpython-f5b6356a11bde64ac1e08478dd5ee7c47da653d8.tar.gz
cpython-f5b6356a11bde64ac1e08478dd5ee7c47da653d8.zip
GH-128563: Add new frame owner type for interpreter entry frames (GH-129078)
Add new frame owner type for interpreter entry frames
Diffstat (limited to 'Objects/frameobject.c')
-rw-r--r--Objects/frameobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c
index bf5067bba58..d6b4065e130 100644
--- a/Objects/frameobject.c
+++ b/Objects/frameobject.c
@@ -2133,7 +2133,7 @@ _PyFrame_IsEntryFrame(PyFrameObject *frame)
assert(frame != NULL);
_PyInterpreterFrame *f = frame->f_frame;
assert(!_PyFrame_IsIncomplete(f));
- return f->previous && f->previous->owner == FRAME_OWNED_BY_CSTACK;
+ return f->previous && f->previous->owner == FRAME_OWNED_BY_INTERPRETER;
}
PyCodeObject *