]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-71316: Update dis documentation to include changes to jump arguments (GH-95798)
authorChristopher Chianelli <cchianel@redhat.com>
Fri, 7 Oct 2022 13:54:21 +0000 (09:54 -0400)
committerGitHub <noreply@github.com>
Fri, 7 Oct 2022 13:54:21 +0000 (14:54 +0100)
Doc/library/dis.rst

index 30a336197c397d66cc7c84bd542d5047b3be668b..33df7be4363423c63f31e84bbaa09d93795085c1 100644 (file)
@@ -30,6 +30,10 @@ interpreter.
       Use 2 bytes for each instruction. Previously the number of bytes varied
       by instruction.
 
+   .. versionchanged:: 3.10
+      The argument of jump, exception handling and loop instructions is now
+      the instruction offset rather than the byte offset.
+
    .. versionchanged:: 3.11
       Some instructions are accompanied by one or more inline cache entries,
       which take the form of :opcode:`CACHE` instructions. These instructions