mirror of
https://github.com/python/cpython.git
synced 2025-09-29 11:45:57 +00:00
[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`.
This commit is contained in:
parent
ebfaa71c2e
commit
0c71653cb8
1 changed files with 1 additions and 1 deletions
|
@ -1077,7 +1077,7 @@ All of the following opcodes use their arguments.
|
||||||
Pops all function arguments, and the function itself off the stack, and
|
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
|
pushes the return value. Note that this opcode pops at most three items
|
||||||
from the stack. Var-positional and var-keyword arguments are packed
|
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`.
|
:opcode:`BUILD_MAP_UNPACK_WITH_CALL`.
|
||||||
|
|
||||||
.. versionadded:: 3.6
|
.. versionadded:: 3.6
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue