summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2017-11-25 15:57:41 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-11-25 15:57:41 (GMT)
commit6bce8ace76dcd49a4c8fe4542a28abda0577bff3 (patch)
tree2b9f8e5744a6c53829ffb9bb60af4cf3b9072149 /Doc
parentdb897b196163a2930dcbf2f516f5549b09ba7998 (diff)
downloadcpython-6bce8ace76dcd49a4c8fe4542a28abda0577bff3.zip
cpython-6bce8ace76dcd49a4c8fe4542a28abda0577bff3.tar.gz
cpython-6bce8ace76dcd49a4c8fe4542a28abda0577bff3.tar.bz2
[Doc] Update opcode for var-positional arguments (GH-4446) (#4457)
`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 0c71653cb8231f176d02140fdef3706de2e93b9f)
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 c795782..c68b15a 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -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