summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMoses Koledoye <moseskoledoye@gmail.com>2017-11-18 22:49:15 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-11-18 22:49:15 (GMT)
commit0c71653cb8231f176d02140fdef3706de2e93b9f (patch)
tree77b60e59e4a2ad139b2623f9cfa5dc37537ecc63 /Doc
parentebfaa71c2e8c018f72c179395dafaf06dcaf29e2 (diff)
downloadcpython-0c71653cb8231f176d02140fdef3706de2e93b9f.zip
cpython-0c71653cb8231f176d02140fdef3706de2e93b9f.tar.gz
cpython-0c71653cb8231f176d02140fdef3706de2e93b9f.tar.bz2
[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`.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/dis.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 4d01103..01d46f8 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -1077,7 +1077,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