From 6592a62ec2939323b895c85780da7fd73a640da3 Mon Sep 17 00:00:00 2001 From: Christopher Chianelli Date: Fri, 7 Oct 2022 09:54:21 -0400 Subject: gh-71316: Update dis documentation to include changes to jump arguments (GH-95798) --- Doc/library/dis.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 30a3361..33df7be 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -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 -- cgit v0.12