diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2015-11-12 16:02:06 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2015-11-12 16:02:06 (GMT) |
commit | db7a1d6e15f9e3c85c88c505360240e2a3ce8564 (patch) | |
tree | 0cf7aa011079a753270849680ab00ef39c28b29d | |
parent | 3a754038809a6cc89e7ee24c0b8293f4fe933153 (diff) | |
download | cpython-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.rst | 7 |
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 |