summaryrefslogtreecommitdiffstats
path: root/Lib/dis.py
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 /Lib/dis.py
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 'Lib/dis.py')
-rw-r--r--Lib/dis.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/dis.py b/Lib/dis.py
index faea354..3309357 100644
--- a/Lib/dis.py
+++ b/Lib/dis.py
@@ -206,8 +206,8 @@ HAVE_ARGUMENT = 90 # Opcodes from here have an argument:
name_op('STORE_NAME', 90) # Index in name list
name_op('DELETE_NAME', 91) # ""
-def_op('UNPACK_TUPLE', 92) # Number of tuple items
-def_op('UNPACK_LIST', 93) # Number of list items
+def_op('UNPACK_SEQUENCE', 92) # Number of tuple items
+
name_op('STORE_ATTR', 95) # Index in name list
name_op('DELETE_ATTR', 96) # ""
name_op('STORE_GLOBAL', 97) # ""