Improved documentation for BUILD_CONST_KEY_MAP (GH-19454)

This commit is contained in:
laike9m 2020-04-12 19:55:45 -07:00 committed by GitHub
parent 70c188eee0
commit 85dd6bb1f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -844,9 +844,9 @@ All of the following opcodes use their arguments.
.. opcode:: BUILD_CONST_KEY_MAP (count) .. opcode:: BUILD_CONST_KEY_MAP (count)
The version of :opcode:`BUILD_MAP` specialized for constant keys. *count* The version of :opcode:`BUILD_MAP` specialized for constant keys. Pops the
values are consumed from the stack. The top element on the stack contains top element on the stack which contains a tuple of keys, then starting from
a tuple of keys. ``TOS1``, pops *count* values to form values in the built dictionary.
.. versionadded:: 3.6 .. versionadded:: 3.6