diff options
author | Carl Meyer <carl@oddbird.net> | 2023-05-09 17:02:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 17:02:14 (GMT) |
commit | c3b595e73efac59360d6dc869802abc752092460 (patch) | |
tree | 5095460e4d502af2688c132562b7d8570f33d7b0 /Doc/library/dis.rst | |
parent | 0aeda297931820436a50b78f4f7f0597274b5df4 (diff) | |
download | cpython-c3b595e73efac59360d6dc869802abc752092460.zip cpython-c3b595e73efac59360d6dc869802abc752092460.tar.gz cpython-c3b595e73efac59360d6dc869802abc752092460.tar.bz2 |
gh-97933: (PEP 709) inline list/dict/set comprehensions (#101441)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
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 296d8a9..248743b 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -1196,6 +1196,14 @@ iterations of the loop. .. versionadded:: 3.12 +.. opcode:: LOAD_FAST_AND_CLEAR (var_num) + + Pushes a reference to the local ``co_varnames[var_num]`` onto the stack (or + pushes ``NULL`` onto the stack if the local variable has not been + initialized) and sets ``co_varnames[var_num]`` to ``NULL``. + + .. versionadded:: 3.12 + .. opcode:: STORE_FAST (var_num) Stores ``STACK.pop()`` into the local ``co_varnames[var_num]``. |