diff options
Diffstat (limited to 'Doc/library/dis.rst')
-rw-r--r-- | Doc/library/dis.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 2365f0a..7596228 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -217,6 +217,13 @@ object isn't useful: Detect all offsets in the code object *code* which are jump targets, and return a list of these offsets. + +.. function:: stack_effect(opcode, [oparg]) + + Compute the stack effect of *opcode* with argument *oparg*. + + .. versionadded:: 3.4 + .. _bytecodes: Python Bytecode Instructions |