diff options
author | Christopher Chianelli <cchianel@redhat.com> | 2022-10-07 13:54:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 13:54:21 (GMT) |
commit | 6592a62ec2939323b895c85780da7fd73a640da3 (patch) | |
tree | 40ffc9d03c698d3c9ce3b2ce0783d39d1e235c43 /Doc/library/dis.rst | |
parent | e500cc04517bd65668f2e203c1e37b0cc5b1cf1b (diff) | |
download | cpython-6592a62ec2939323b895c85780da7fd73a640da3.zip cpython-6592a62ec2939323b895c85780da7fd73a640da3.tar.gz cpython-6592a62ec2939323b895c85780da7fd73a640da3.tar.bz2 |
gh-71316: Update dis documentation to include changes to jump arguments (GH-95798)
Diffstat (limited to 'Doc/library/dis.rst')
-rw-r--r-- | Doc/library/dis.rst | 4 |
1 files changed, 4 insertions, 0 deletions
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 |