diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-09-22 13:29:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-22 13:29:16 (GMT) |
commit | 5030d386f8875d6049b78cc0c3325761ec272cb2 (patch) | |
tree | 7b8e1694becaed5fdb8d6aa9c74dca4e4711992b | |
parent | c03ed79f22655ff7b9576f66d405da6cf961d911 (diff) | |
download | cpython-5030d386f8875d6049b78cc0c3325761ec272cb2.zip cpython-5030d386f8875d6049b78cc0c3325761ec272cb2.tar.gz cpython-5030d386f8875d6049b78cc0c3325761ec272cb2.tar.bz2 |
[3.12] GH-109190: Copyedit 3.12 What's New: bytecode (LOAD_METHOD) (GH-109665) (#109728)
GH-109190: Copyedit 3.12 What's New: bytecode (LOAD_METHOD) (GH-109665)
(cherry picked from commit d9415f6a45c2c4163b593713ef765cb2a60f8aa7)
bytecode: suppress reference to removed LOAD_METHOD
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
-rw-r--r-- | Doc/whatsnew/3.12.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 894b80e..d38c65b 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -1000,9 +1000,9 @@ Optimizations CPython bytecode changes ======================== -* Remove the :opcode:`LOAD_METHOD` instruction. It has been merged into +* Remove the :opcode:`!LOAD_METHOD` instruction. It has been merged into :opcode:`LOAD_ATTR`. :opcode:`LOAD_ATTR` will now behave like the old - :opcode:`LOAD_METHOD` instruction if the low bit of its oparg is set. + :opcode:`!LOAD_METHOD` instruction if the low bit of its oparg is set. (Contributed by Ken Jin in :gh:`93429`.) * Remove the :opcode:`!JUMP_IF_FALSE_OR_POP` and :opcode:`!JUMP_IF_TRUE_OR_POP` |