summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2015-11-12 16:02:06 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2015-11-12 16:02:06 (GMT)
commitdb7a1d6e15f9e3c85c88c505360240e2a3ce8564 (patch)
tree0cf7aa011079a753270849680ab00ef39c28b29d
parent3a754038809a6cc89e7ee24c0b8293f4fe933153 (diff)
downloadcpython-db7a1d6e15f9e3c85c88c505360240e2a3ce8564.zip
cpython-db7a1d6e15f9e3c85c88c505360240e2a3ce8564.tar.gz
cpython-db7a1d6e15f9e3c85c88c505360240e2a3ce8564.tar.bz2
Document the BUILD_SET opcode.
Reported by Hrvoje Abraham on docs@.
-rw-r--r--Doc/library/dis.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 727af41..04b9b15 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -647,6 +647,13 @@ the more significant byte last.
Works as ``BUILD_TUPLE``, but creates a list.
+.. opcode:: BUILD_SET (count)
+
+ Works as ``BUILD_TUPLE``, but creates a set.
+
+ .. versionadded:: 2.7
+
+
.. opcode:: BUILD_MAP (count)
Pushes a new dictionary object onto the stack. The dictionary is pre-sized