[Python-checkins] [Doc] Update opcode for var-positional arguments (#4446)
Serhiy Storchaka
webhook-mailer at python.org
Sat Nov 18 17:49:18 EST 2017
https://github.com/python/cpython/commit/0c71653cb8231f176d02140fdef3706de2e93b9f
commit: 0c71653cb8231f176d02140fdef3706de2e93b9f
branch: master
author: Moses Koledoye <moseskoledoye at gmail.com>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2017-11-19T00:49:15+02:00
summary:
[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`.
files:
M Doc/library/dis.rst
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 4d011036d7a..01d46f88fb5 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
More information about the Python-checkins
mailing list