summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/dis.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/Lib/dis.py b/Lib/dis.py
index fe57fb9..7eaaeaf 100644
--- a/Lib/dis.py
+++ b/Lib/dis.py
@@ -147,9 +147,11 @@ 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
-# unused: 94
+def_op('UNPACK_ARG', 94) # Number of arguments expected
name_op('STORE_ATTR', 95) # Index in name list
-name_op('DELETE_ATTR', 96) # ""
+name_op('DELETE_ATTR', 96) # ""
+name_op('STORE_GLOBAL', 97) # ""
+name_op('DELETE_GLOBAL', 98) # ""
def_op('LOAD_CONST', 100) # Index in const list
hasconst.append(100)
@@ -168,6 +170,9 @@ jrel_op('JUMP_IF_TRUE', 112) # ""
jabs_op('JUMP_ABSOLUTE', 113) # Target byte offset from beginning of code
jrel_op('FOR_LOOP', 114) # Number of bytes to skip
+name_op('LOAD_LOCAL', 115) # Index in name list
+name_op('LOAD_GLOBAL', 116) # Index in name list
+
jrel_op('SETUP_LOOP', 120) # Distance to target address
jrel_op('SETUP_EXCEPT', 121) # ""
jrel_op('SETUP_FINALLY', 122) # ""