From 85dd6bb1f61f7edcd6ac0b640a98644531690a0e Mon Sep 17 00:00:00 2001 From: laike9m Date: Sun, 12 Apr 2020 19:55:45 -0700 Subject: Improved documentation for `BUILD_CONST_KEY_MAP` (GH-19454) --- Doc/library/dis.rst | 6 +++--- 1 file 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 -- cgit v0.12