[3.12] gh-107427: Update the description of UNPACK_SEQUENCE (gh-107429) (gh-107459)

This commit is contained in:
Miss Islington (bot) 2023-07-30 08:49:26 -07:00 committed by GitHub
parent e3b5ed7b1c
commit 0b3d638175
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -864,9 +864,10 @@ iterations of the loop.
.. opcode:: UNPACK_SEQUENCE (count)
Unpacks ``STACK[-1]`` into *count* individual values, which are put onto the stack
right-to-left::
right-to-left. Require there to be exactly *count* values.::
STACK.extend(STACK.pop()[:count:-1])
assert(len(STACK[-1]) == count)
STACK.extend(STACK.pop()[:-count-1:-1])
.. opcode:: UNPACK_EX (counts)