summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-04-13 03:01:53 (GMT)
committerGitHub <noreply@github.com>2020-04-13 03:01:53 (GMT)
commitee691b078b23543af71027e353a6bafa2aa722d9 (patch)
treedd3c8f14835958410ef797b19b184a758999a06b /Doc/library
parentf35e7d3bb0488a15cbb45ff10f02be558a3777cd (diff)
downloadcpython-ee691b078b23543af71027e353a6bafa2aa722d9.zip
cpython-ee691b078b23543af71027e353a6bafa2aa722d9.tar.gz
cpython-ee691b078b23543af71027e353a6bafa2aa722d9.tar.bz2
[3.8] Improved documentation for `BUILD_CONST_KEY_MAP` (GH-19454) (GH-19495)
(cherry picked from commit 85dd6bb1f61f7edcd6ac0b640a98644531690a0e) Co-authored-by: laike9m <laike9m@users.noreply.github.com> Automerge-Triggered-By: @zhangyangyu
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/dis.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 34ae1a3..5b34e68 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -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