Skip to content

Commit 43e9c9f

Browse files
committed
pyframe fix 8
1 parent 45e9a6d commit 43e9c9f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Doc/c-api/frame.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,9 @@ Unless using :pep:`523`, you will not need this.
274274
275275
.. code-block:: c
276276
277-
// Check if a frame should be skipped
277+
int kind = PyUnstable_Frame_GetExecutableKind(frame)
278+
278279
if (kind == PyUnstable_EXECUTABLE_KIND_SKIP) {
279-
// This is an internal frame (like a Tier 2 optimizer frame)
280-
// Tools should ignore it.
281280
continue;
282281
}
283282

0 commit comments

Comments
 (0)