Skip to content

Commit

Permalink
[3.8] Improved documentation for BUILD_CONST_KEY_MAP (GH-19454) (GH…
Browse files Browse the repository at this point in the history
…-19495)

(cherry picked from commit 85dd6bb)


Co-authored-by: laike9m <laike9m@users.noreply.github.com>

Automerge-Triggered-By: @zhangyangyu
  • Loading branch information
miss-islington authored Apr 13, 2020
1 parent f35e7d3 commit ee691b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Doc/library/dis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -894,9 +894,9 @@ All of the following opcodes use their arguments.

.. opcode:: BUILD_CONST_KEY_MAP (count)

The version of :opcode:`BUILD_MAP` specialized for constant keys. *count*
values are consumed from the stack. The top element on the stack contains
a tuple of keys.
The version of :opcode:`BUILD_MAP` specialized for constant keys. Pops the
top element on the stack which contains a tuple of keys, then starting from
``TOS1``, pops *count* values to form values in the built dictionary.

.. versionadded:: 3.6

Expand Down

0 comments on commit ee691b0

Please sign in to comment.