summaryrefslogtreecommitdiffstats
path: root/Include/opcode.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-07-30 16:41:26 (GMT)
committerGuido van Rossum <guido@python.org>1996-07-30 16:41:26 (GMT)
commitdb3b04104aec9a7cf6400d886f6f991cfd1524e3 (patch)
treec6a7087abbe123a350b91754398ef38ce35dd3da /Include/opcode.h
parentae8a99e3f598b2f358ae688e46fcbf5b48a76dd7 (diff)
downloadcpython-db3b04104aec9a7cf6400d886f6f991cfd1524e3.zip
cpython-db3b04104aec9a7cf6400d886f6f991cfd1524e3.tar.gz
cpython-db3b04104aec9a7cf6400d886f6f991cfd1524e3.tar.bz2
Added BUILD_SLICE opcode.
Diffstat (limited to 'Include/opcode.h')
-rw-r--r--Include/opcode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index 401f765..306ee59 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -139,6 +139,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define RAISE_VARARGS 130 /* Number of raise arguments (1, 2 or 3) */
#define CALL_FUNCTION 131 /* #args + (#kwargs<<8) */
#define MAKE_FUNCTION 132 /* #defaults */
+#define BUILD_SLICE 133 /* Number of items */
/* Comparison operator codes (argument to COMPARE_OP) */
enum cmp_op {LT, LE, EQ, NE, GT, GE, IN, NOT_IN, IS, IS_NOT, EXC_MATCH, BAD};