diff options
Diffstat (limited to 'Doc/library/dis.rst')
-rw-r--r-- | Doc/library/dis.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 7afa62f95b..6bbe4ecbe8 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -1206,6 +1206,20 @@ All of the following opcodes use their arguments. .. versionadded:: 3.11 +.. opcode:: RESUME (where) + + A no-op. Performs internal tracing, debugging and optimization checks. + + The ``where`` operand marks where the ``RESUME`` occurs: + + * ``0`` The start of a function + * ``1`` After a ``yield`` expression + * ``2`` After a ``yield from`` expression + * ``3`` After an ``await`` expression + + .. versionadded:: 3.11 + + .. opcode:: HAVE_ARGUMENT This is not really an opcode. It identifies the dividing line between |