diff options
author | Brandt Bucher <brandtbucher@microsoft.com> | 2022-02-28 11:54:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-28 11:54:14 (GMT) |
commit | 424ecab494d538650ba34937cdd710094ccb2275 (patch) | |
tree | fe50c89dca09df2c3f2ff49cc937af75a9450c75 /Lib/opcode.py | |
parent | c32aef48533769161e1247927a5b418322e0860c (diff) | |
download | cpython-424ecab494d538650ba34937cdd710094ccb2275.zip cpython-424ecab494d538650ba34937cdd710094ccb2275.tar.gz cpython-424ecab494d538650ba34937cdd710094ccb2275.tar.bz2 |
bpo-46841: Use inline caching for `UNPACK_SEQUENCE` (GH-31591)
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r-- | Lib/opcode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py index 84ad002..8fa71bf 100644 --- a/Lib/opcode.py +++ b/Lib/opcode.py @@ -109,7 +109,7 @@ 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_SEQUENCE', 92) # Number of tuple items +def_op('UNPACK_SEQUENCE', 92, 1) # Number of tuple items jrel_op('FOR_ITER', 93) def_op('UNPACK_EX', 94) name_op('STORE_ATTR', 95) # Index in name list |