Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c71653

Browse files
mkoledoyeserhiy-storchaka
authored andcommitted
[Doc] Update opcode for var-positional arguments (#4446)
`BUILD_MAP_UNPACK_WITH_CALL` was duplicated as the opcode for both var-positional and var-keyword arguments. The opcode for the former was updated as `BUILD_TUPLE_UNPACK_WITH_CALL`.
1 parent ebfaa71 commit 0c71653

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/dis.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ All of the following opcodes use their arguments.
10771077
Pops all function arguments, and the function itself off the stack, and
10781078
pushes the return value. Note that this opcode pops at most three items
10791079
from the stack. Var-positional and var-keyword arguments are packed
1080-
by :opcode:`BUILD_MAP_UNPACK_WITH_CALL` and
1080+
by :opcode:`BUILD_TUPLE_UNPACK_WITH_CALL` and
10811081
:opcode:`BUILD_MAP_UNPACK_WITH_CALL`.
10821082

10831083
.. versionadded:: 3.6

0 commit comments

Comments
 (0)