diff options
Diffstat (limited to 'Doc/library/dis.rst')
-rw-r--r-- | Doc/library/dis.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 2e938ab..836c4c1 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -346,6 +346,14 @@ result back on the stack. Implements ``TOS = iter(TOS)``. +.. opcode:: GET_YIELD_FROM_ITER + + If ``TOS`` is a :term:`generator iterator` or :term:`coroutine` object + it is left as is. Otherwise, implements ``TOS = iter(TOS)``. + + .. versionadded:: 3.5 + + **Binary operations** Binary operations remove the top of the stack (TOS) and the second top-most |