diff options
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | 2024-06-20 07:07:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 07:07:24 -0700 |
commit | e8e151d4715839f785ff853c77594d7302b40266 (patch) | |
tree | 2e83f26c9245bd90c84eb42cd37414f40fc40fc6 /Lib/opcode.py | |
parent | 55596ae0446e40f47e2a28b8897fe9530c32a19a (diff) | |
download | cpython-e8e151d4715839f785ff853c77594d7302b40266.tar.gz cpython-e8e151d4715839f785ff853c77594d7302b40266.zip |
gh-120780: Show attribute name for LOAD_SPECIAL in dis output (#120781)
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 85c0834c698..2698609cd56 100644 --- a/Lib/opcode.py +++ b/Lib/opcode.py @@ -36,6 +36,7 @@ hasexc = [op for op in opmap.values() if _opcode.has_exc(op)] _intrinsic_1_descs = _opcode.get_intrinsic1_descs() _intrinsic_2_descs = _opcode.get_intrinsic2_descs() +_special_method_names = _opcode.get_special_method_names() _common_constants = [AssertionError, NotImplementedError] _nb_ops = _opcode.get_nb_ops() |