summaryrefslogtreecommitdiffstats
path: root/Include/opcode.h
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-08-11 22:15:52 (GMT)
committerThomas Wouters <thomas@python.org>2000-08-11 22:15:52 (GMT)
commit0be5aab04d2f441323e8a7681f79137d26fd2e30 (patch)
tree67b542d99a3b0ddf62427b2b05a25dafa13437cc /Include/opcode.h
parenta8d7341f63fc73f46eb997c2b9481ce0d35069ae (diff)
downloadcpython-0be5aab04d2f441323e8a7681f79137d26fd2e30.zip
cpython-0be5aab04d2f441323e8a7681f79137d26fd2e30.tar.gz
cpython-0be5aab04d2f441323e8a7681f79137d26fd2e30.tar.bz2
Merge UNPACK_LIST and UNPACK_TUPLE into a single UNPACK_SEQUENCE, since they
did the same anyway. I'm not sure what to do with Tools/compiler/compiler/* -- that isn't part of distutils, is it ? Should it try to be compatible with old bytecode version ?
Diffstat (limited to 'Include/opcode.h')
-rw-r--r--Include/opcode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index 630d5dd..78505b7 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -76,8 +76,8 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#define STORE_NAME 90 /* Index in name list */
#define DELETE_NAME 91 /* "" */
-#define UNPACK_TUPLE 92 /* Number of tuple items */
-#define UNPACK_LIST 93 /* Number of list items */
+#define UNPACK_SEQUENCE 92 /* Number of sequence items */
+
#define STORE_ATTR 95 /* Index in name list */
#define DELETE_ATTR 96 /* "" */
#define STORE_GLOBAL 97 /* "" */