mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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 ?
This commit is contained in:
parent
a8d7341f63
commit
0be5aab04d
6 changed files with 15 additions and 29 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) # ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue