]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-109190: Copyedit 3.12 What's New: bytecode (LOAD_METHOD) (#109665)
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>
Fri, 22 Sep 2023 12:50:20 +0000 (13:50 +0100)
committerGitHub <noreply@github.com>
Fri, 22 Sep 2023 12:50:20 +0000 (14:50 +0200)
bytecode: suppress reference to removed LOAD_METHOD

Doc/whatsnew/3.12.rst

index 3117d9183761b0dbe21be2b366a192f4f5318b07..5c38e3b9bcfd511f8f7f7d8fb22f71fc2d4c3f38 100644 (file)
@@ -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`