Skip to content

Commit

Permalink
[3.12] GH-109190: Copyedit 3.12 What's New: bytecode (LOAD_METHOD) (G…
Browse files Browse the repository at this point in the history
…H-109665) (#109728)

GH-109190: Copyedit 3.12 What's New: bytecode (LOAD_METHOD) (GH-109665)
(cherry picked from commit d9415f6)


bytecode: suppress reference to removed LOAD_METHOD

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
  • Loading branch information
miss-islington and AA-Turner authored Sep 22, 2023
1 parent c03ed79 commit 5030d38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 5030d38

Please sign in to comment.