From 0be5aab04d2f441323e8a7681f79137d26fd2e30 Mon Sep 17 00:00:00 2001 From: Thomas Wouters Date: Fri, 11 Aug 2000 22:15:52 +0000 Subject: 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 ? --- Lib/dis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/dis.py') diff --git a/Lib/dis.py b/Lib/dis.py index faea3546309..3309357e292 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) # "" -- cgit v1.2.3