We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45e9a6d commit 43e9c9fCopy full SHA for 43e9c9f
1 file changed
Doc/c-api/frame.rst
@@ -274,10 +274,9 @@ Unless using :pep:`523`, you will not need this.
274
275
.. code-block:: c
276
277
- // Check if a frame should be skipped
+ int kind = PyUnstable_Frame_GetExecutableKind(frame)
278
+
279
if (kind == PyUnstable_EXECUTABLE_KIND_SKIP) {
- // This is an internal frame (like a Tier 2 optimizer frame)
280
- // Tools should ignore it.
281
continue;
282
}
283
0 commit comments