diff options
author | Mark Shannon <mark@hotpy.org> | 2022-05-19 16:49:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 16:49:29 (GMT) |
commit | 3fd86100022103f41ada043f5bb5a7201e80ac27 (patch) | |
tree | d57d89cce134d2556a64ea1935117aa2729fedad /Doc/library/dis.rst | |
parent | 70aa1b9b912d8254df3c61ae0a55464962f4c087 (diff) | |
download | cpython-3fd86100022103f41ada043f5bb5a7201e80ac27.zip cpython-3fd86100022103f41ada043f5bb5a7201e80ac27.tar.gz cpython-3fd86100022103f41ada043f5bb5a7201e80ac27.tar.bz2 |
GH-89914: Make the oparg of the YIELD_VALUE instruction equal the stack depth. (GH-92960)
Diffstat (limited to 'Doc/library/dis.rst')
-rw-r--r-- | Doc/library/dis.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 027db01..8bc3721 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -575,6 +575,8 @@ iterations of the loop. Pops TOS and yields it from a :term:`generator`. + .. versionchanged:: 3.11 + oparg set to be the stack depth, for efficient handling on frames. .. opcode:: YIELD_FROM |