]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Document the BUILD_SET opcode.
authorZachary Ware <zachary.ware@gmail.com>
Thu, 12 Nov 2015 16:02:06 +0000 (10:02 -0600)
committerZachary Ware <zachary.ware@gmail.com>
Thu, 12 Nov 2015 16:02:06 +0000 (10:02 -0600)
Reported by Hrvoje Abraham on docs@.

Doc/library/dis.rst

index 727af4198bd69aeb6abda43da7de3a963825d9b1..04b9b15386336e88b297dcfa2585ff5ecdc50668 100644 (file)
@@ -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