diff options
author | Thomas Wouters <thomas@python.org> | 2000-08-11 22:15:52 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-08-11 22:15:52 (GMT) |
commit | 0be5aab04d2f441323e8a7681f79137d26fd2e30 (patch) | |
tree | 67b542d99a3b0ddf62427b2b05a25dafa13437cc /Lib/dis.py | |
parent | a8d7341f63fc73f46eb997c2b9481ce0d35069ae (diff) | |
download | cpython-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.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) # "" |