Skip to content

Commit

Permalink
[Doc] Update opcode for var-positional arguments (GH-4446) (#4457)
Browse files Browse the repository at this point in the history
`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`.
(cherry picked from commit 0c71653)
  • Loading branch information
miss-islington authored and serhiy-storchaka committed Nov 25, 2017
1 parent db897b1 commit 6bce8ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/dis.rst
Expand Up @@ -1053,7 +1053,7 @@ All of the following opcodes use their arguments.
Pops all function arguments, and the function itself off the stack, and
pushes the return value. Note that this opcode pops at most three items
from the stack. Var-positional and var-keyword arguments are packed
by :opcode:`BUILD_MAP_UNPACK_WITH_CALL` and
by :opcode:`BUILD_TUPLE_UNPACK_WITH_CALL` and
:opcode:`BUILD_MAP_UNPACK_WITH_CALL`.

.. versionadded:: 3.6
Expand Down

0 comments on commit 6bce8ac

Please sign in to comment.