summaryrefslogtreecommitdiffstats
path: root/Doc/library/dis.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-06-11 21:39:41 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-06-11 21:39:41 (GMT)
commit6a7506a77f11235b2f1f0e97a2f2eb57e6953d88 (patch)
tree49509696dbf91f8e26ee18309678d0f3d4daee56 /Doc/library/dis.rst
parentd611f4cf10e63814ad0d2e51b215d13dc097d355 (diff)
downloadcpython-6a7506a77f11235b2f1f0e97a2f2eb57e6953d88.zip
cpython-6a7506a77f11235b2f1f0e97a2f2eb57e6953d88.tar.gz
cpython-6a7506a77f11235b2f1f0e97a2f2eb57e6953d88.tar.bz2
Issue #27140: Added BUILD_CONST_KEY_MAP opcode.
Diffstat (limited to 'Doc/library/dis.rst')
-rw-r--r--Doc/library/dis.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 6e4b8b1..3b68f26 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -768,6 +768,15 @@ All of the following opcodes use their arguments.
to hold *count* entries.
+.. 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.
+
+ .. versionadded:: 3.6
+
+
.. opcode:: LOAD_ATTR (namei)
Replaces TOS with ``getattr(TOS, co_names[namei])``.