diff options
author | laike9m <laike9m@users.noreply.github.com> | 2020-04-13 02:55:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 02:55:45 (GMT) |
commit | 85dd6bb1f61f7edcd6ac0b640a98644531690a0e (patch) | |
tree | d75055084f6721235f2e93407f14ea9b6cc33c9a /Doc/library/dis.rst | |
parent | 70c188eee019778583f19886e3b620d17bc86cd8 (diff) | |
download | cpython-85dd6bb1f61f7edcd6ac0b640a98644531690a0e.zip cpython-85dd6bb1f61f7edcd6ac0b640a98644531690a0e.tar.gz cpython-85dd6bb1f61f7edcd6ac0b640a98644531690a0e.tar.bz2 |
Improved documentation for `BUILD_CONST_KEY_MAP` (GH-19454)
Diffstat (limited to 'Doc/library/dis.rst')
-rw-r--r-- | Doc/library/dis.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 96574a0..f871ec4 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -844,9 +844,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 |