Skip to content

Commit 6592a62

Browse files
gh-71316: Update dis documentation to include changes to jump arguments (GH-95798)
1 parent e500cc0 commit 6592a62

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/library/dis.rst

Lines changed: 4 additions & 0 deletions
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)