gh-91502: Add a new API to check if a frame is an entry frame (GH-91503) · python/cpython@37a53fb · GitHub
Skip to content

Commit 37a53fb

Browse files
authored
gh-91502: Add a new API to check if a frame is an entry frame (GH-91503)
1 parent 54f67ad commit 37a53fb

3 files changed

Lines changed: 20 additions & 0 deletions

File tree

Include/cpython/frameobject.h

Lines changed: 10 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Add a new :c:func:`_PyFrame_IsEntryFrame` API function, to check if a
2+
:c:type:`PyFrameObject` is an entry frame. Patch by Pablo Galindo.

Objects/frameobject.c

Lines changed: 8 additions & 0 deletions

0 commit comments

Comments
 (0)