From: Zachary Ware Date: Thu, 12 Nov 2015 16:02:06 +0000 (-0600) Subject: Document the BUILD_SET opcode. X-Git-Tag: v2.7.11rc1~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=db7a1d6e15f9e3c85c88c505360240e2a3ce8564;p=thirdparty%2FPython%2Fcpython.git Document the BUILD_SET opcode. Reported by Hrvoje Abraham on docs@. --- diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 727af4198bd6..04b9b1538633 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