summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2021-11-18 11:02:14 (GMT)
committerGitHub <noreply@github.com>2021-11-18 11:02:14 (GMT)
commit21fa7a3e8f99a1a32467f85c877e40cbdafa9da7 (patch)
tree55d139caef014d3875f2cd65de98f52f8669d78d /Lib
parent5275e59c0c1b26226608e6c7c2548c26192d6575 (diff)
downloadcpython-21fa7a3e8f99a1a32467f85c877e40cbdafa9da7.zip
cpython-21fa7a3e8f99a1a32467f85c877e40cbdafa9da7.tar.gz
cpython-21fa7a3e8f99a1a32467f85c877e40cbdafa9da7.tar.bz2
bpo-45829: Specialize BINARY_SUBSCR for __getitem__ implemented in Python. (GH-29592)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/opcode.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py
index 4abe99f..1df192b 100644
--- a/Lib/opcode.py
+++ b/Lib/opcode.py
@@ -234,6 +234,7 @@ _specialized_instructions = [
"BINARY_OP_SUBTRACT_INT",
"BINARY_OP_SUBTRACT_FLOAT",
"BINARY_SUBSCR_ADAPTIVE",
+ "BINARY_SUBSCR_GETITEM",
"BINARY_SUBSCR_LIST_INT",
"BINARY_SUBSCR_TUPLE_INT",
"BINARY_SUBSCR_DICT",