diff options
author | Ken Jin <kenjin@python.org> | 2022-12-23 16:26:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-23 16:26:42 (GMT) |
commit | c3c7848a48b74a321632202e4bdcf2f465fb1cc6 (patch) | |
tree | c880b1a9a096b627e85d643db00704e03f041446 /Lib/opcode.py | |
parent | 7fc7909677759fd0cb9d30cd7ff839afd3973325 (diff) | |
download | cpython-c3c7848a48b74a321632202e4bdcf2f465fb1cc6.zip cpython-c3c7848a48b74a321632202e4bdcf2f465fb1cc6.tar.gz cpython-c3c7848a48b74a321632202e4bdcf2f465fb1cc6.tar.bz2 |
gh-100288: Specialise LOAD_ATTR_METHOD for managed dictionaries (GH-100289)
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r-- | Lib/opcode.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py index fc57aff..59f368c 100644 --- a/Lib/opcode.py +++ b/Lib/opcode.py @@ -336,6 +336,7 @@ _specializations = { # These will always push [unbound method, self] onto the stack. "LOAD_ATTR_METHOD_LAZY_DICT", "LOAD_ATTR_METHOD_NO_DICT", + "LOAD_ATTR_METHOD_MANAGED_DICT", "LOAD_ATTR_METHOD_WITH_DICT", "LOAD_ATTR_METHOD_WITH_VALUES", ], |