]> granicus.if.org Git - python/commitdiff
[Doc] Update opcode for var-positional arguments (#4446)
authorMoses Koledoye <moseskoledoye@gmail.com>
Sat, 18 Nov 2017 22:49:15 +0000 (23:49 +0100)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 18 Nov 2017 22:49:15 +0000 (00:49 +0200)
`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`.

Doc/library/dis.rst

index 4d011036d7ae7490b59c2bd6305f469e2f653151..01d46f88fb5796aa4fda079d8f04c4263d866827 100644 (file)
@@ -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