Skip to content

Commit a8a33e1

Browse files
miss-islingtonChristopher-Chianelli
authored andcommitted
gh-71316: Update dis documentation to include changes to jump arguments (GH-95798)
(cherry picked from commit 6592a62) Co-authored-by: Christopher Chianelli <[email protected]>
1 parent 40527c2 commit a8a33e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/library/dis.rst

+4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ interpreter.
3030
Use 2 bytes for each instruction. Previously the number of bytes varied
3131
by instruction.
3232

33+
.. versionchanged:: 3.10
34+
The argument of jump, exception handling and loop instructions is now
35+
the instruction offset rather than the byte offset.
36+
3337
.. versionchanged:: 3.11
3438
Some instructions are accompanied by one or more inline cache entries,
3539
which take the form of :opcode:`CACHE` instructions. These instructions

0 commit comments

Comments
 (0)