From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 7 Oct 2022 14:10:46 +0000 (-0700) Subject: gh-71316: Update dis documentation to include changes to jump arguments (GH-95798) X-Git-Tag: v3.11.0~119 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a8a33e16e3e2ee52a46c787971c830a9e036816a;p=thirdparty%2FPython%2Fcpython.git gh-71316: Update dis documentation to include changes to jump arguments (GH-95798) (cherry picked from commit 6592a62ec2939323b895c85780da7fd73a640da3) Co-authored-by: Christopher Chianelli --- diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index f7989ea43dac..d2925929c6c9 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