From db7a1d6e15f9e3c85c88c505360240e2a3ce8564 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Thu, 12 Nov 2015 10:02:06 -0600 Subject: Document the BUILD_SET opcode. Reported by Hrvoje Abraham on docs@. --- Doc/library/dis.rst | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v0.12