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 e73dfcd commit 1bb20e3Copy full SHA for 1bb20e3
Doc/c-api/veryhigh.rst
@@ -424,10 +424,13 @@ Stack Effects
424
.. versionadded:: 3.4
425
426
427
-.. c:function:: int PyCompile_OpcodeStackEffectWithJump(int opcode, int oparg)
+.. c:function:: int PyCompile_OpcodeStackEffectWithJump(int opcode, int oparg, int jump)
428
429
Similar to :c:func:`PyCompile_OpcodeStackEffect`, but also includes the
430
- stack effect of jumping.
+ stack effect of jumping depending on the value of *jump*.
431
+
432
+ If *jump* is ``0``, this will not include the stack effect of jumping, but
433
+ if *jump* is ``1`` or ``-1``, this will include it.
434
435
On success, this function returns the stack effect; on failure, this
436
returns :c:macro:`PY_INVALID_STACK_EFFECT`.
0 commit comments