File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -703,15 +703,8 @@ not have to be) the original ``STACK[-2]``.
703703 STACK.append(lhs op rhs)
704704
705705 .. versionadded :: 3.11
706-
707-
708- .. opcode :: BINARY_SUBSCR
709-
710- Implements::
711-
712- key = STACK.pop()
713- container = STACK.pop()
714- STACK.append(container[key])
706+ .. versionchanged :: 3.14
707+ With oparg `NB_SUBSCR `, implements binary subscript (replaces opcode BINARY_SUBSCR)
715708
716709
717710.. opcode :: STORE_SUBSCR
Original file line number Diff line number Diff line change @@ -1199,6 +1199,12 @@ Others
11991199 :meth: `~object.__index__ `. (Contributed by Mark Dickinson in :gh: `119743 `.)
12001200
12011201
1202+ CPython Bytecode Changes
1203+ ========================
1204+
1205+ * Replaced :opcode: `BINARY_SUBSCR ` by :opcode: `BINARY_OP ` with oparg ``NB_SUBSCR ``.
1206+ (Contributed by Irit Katriel in :gh: `100239 `.)
1207+
12021208Porting to Python 3.14
12031209======================
12041210
You can’t perform that action at this time.
0 commit comments